I have experienced this before, it is is your distributor my 96 had the same problem and finally it would not start. You must have seen signs that your rpm must have dropped at random at idle.
My advice buy from the dealer even if its a reman. I bought the beck/Arnley aftermarket and it gave the same problem but at high rpms.
The distributor from the dealer is spec'd right for our car and no problems since.