Something isn't right..

Did you do a compression check that should tell you if the heads are the issue next I would be real suspect of that distributor plunk a old good distributor in it see where you're at my guess is it's in the ignition system somewhere.