I replaced the distributor, and it is running great now.