Pinging probably MAF
Those of you with pinging:
First check the Mass Air Flow Sensor, Nay, I say clean it. No matter if it looks clean. This is located right after the airbox in the alluminum housing. Get some sensor safe throttle body cleaner and a q-tip. Clean the filament inside the alluminum housing. you can remove the entire sensor, but you need a saftey torx to do so
It is very important that you do not use ordinary carb cleaner. Denatured alchohol will also work. Gunk makes some "Throttle Body Cleaner" Use only this on any fuel injected car. Regular carb cleaner will remove the coating they put on the throttle plates to keep them from gumming up.
The MAF sensor gets dirty quite quickly, I have to clean mine every 30k or so
Second, Check your spark plugs for fouling, like Bill said. then it is the manifold gasket.
Third, Check for any vacumm leaks. Check the vacumm tree on the back left side of the manifold. look for a missing or degraded cap. Check the vacumm lines to the cruise control, check all the circuits. The best way to check this is to pinch off each vacuum line with a needlenose vise-grip pliers while paying close attention to the rpms. (If you have a multi meter, or scan tool this is much easier) If when you pinch of a vacumm line going to something and the rpm drops. There is a leak in the line, or a defective componenet at the end of the line. the only item that should cause a drop in rpm is your PCV valve line. ( you should check that too though it is not likely to be the problem here, if you shake it and it rattles, its still good. No rattle...No good)
The drop in RPM may only be very slight, but it will be noticable, if you have a vacumm leak large enough to throw of the EEC
This EEC system uses the amount of air (measured by the MAF) going into the system to do a part of the calculating for timing. Therefore, the MAF, and vacumm leak possibility
So, because of this any one of these conditions will indicate to the computer that less air is going into the engine, so it thinks it can advance the timing farther than it actually should. And these older models don't have a knock sensor to confirm if the timing is right or not.
You would not believe how many ford dealer sell new MAFs just simply because they are dirty!
Other than that it is probably carbo build up in the cylinders. So the Foam stuff might be worth a shot