Problem finally solved!
It was the spark plug wires.
I was going to replace just the plugs this morning but the old sparkplug wires wouldn't come off in one piece so I decided to do both plugs and wires. The only problem I had was I couldn't get most of the sparkplugs out of their hole. I only replaced 3 of the plugs, so I am using 3 new ones and 5 old ones. The 3 old plugs I removed were gapped properly and the residue on the tips was a beautiful golden brown, just like they should be. I decided to stop trying to remove the old plugs for fear of breaking one trying to remove it. That would really open up a barrel of worms I don't want to get into.
I want to thank all the people on this forum who offered me suggestions.