If a new distributer was installed did you check all the wire connections... It happened to a friend of mine where it was installed and the ground wasnt bolted on all the way so his car kept cutting off, I tightened the bolt and he was on his way. Your problem sounds just like his.