More info
A bit more information is needed. IE, Is this model v-6 or a 4 cyl.
My first guess would be either the ditsy with the integrated ICM (Ignition Control Module) although your description of what the car is doing sways me away from that being the cause of the problem.
Id check for compression across the board, but please get back to us with more details about the vehicles power train. Auto or Manual.