I changed the spark plugs too and it is still acting like it will shut off while driving it.Manual trans.; when I start out in first gear, the car acts like it is going to stall. this problem never happened until I changed the battery. I also had to change the battery terminal clamps because they were broken and extremely corroded. Should I change the spark plug wires next? I need advice from a Mazda mechanic. Thank you.