Wow, reading this thread, seems like a fairly common problem. I've got 77k miles, and recently car started hesitating while driving, felt like misfiring. If I put it in neutral, car will drop in RPM's and almost die, fluttering the gas will eventually bring back the proper idle, and reving the car will usually fix the problem, temporarily. However, lately this is happening more often, like every 10 minutes of driving. and today, my CE light came on. Went to autozone and the code came back as P0401, EGR System Insufficient Flow Detected. I think this may be a symptom, not the root cause though.
I see alot of talk about replacing the "coil packs". On rockauto they sell an "ignition coil". Are these the same thing? (dunno)
Check this thread out:
http://www.mazdas247.com/forum/showthread.php?t=94788
Clean your EGR valve, oil the spring, and reinstall. The thread has more detailed instructions.
ALso, you have two ignition coils on your valve cover. You will either get a misfire code or a multiple cylinder misfire code. At that time you will either need to replace one or both ignition coils or change to the 1.8l igntion coil from a Miata or 2000 Protege.
Welcome!