ive had that problem before with an older car...i cant really remember what the solution was. check the dist for corrosion all your plug wires....i remember it was something simple....make sure the dist is tight too
good luck...hope i helped a little