You can't stop an attack if you change their monster type and by then it can be to late. Unless you are swinging for a very big monster you are gonna take some damage no matter what.
Not unless you have cards that work with this one, like "System Down," which banishes every monster on your opponent's field... (considering they are all machines now)