My '94 4.0l was missing and new plug wires fix it, 18 year old plug wire failed???, they just don't build them like they used to

And it's very important to use motorcraft spark plugs in the 4.0ls, it eats other brands and will miss like crazy.
A failing coil will usually turn on the CEL(check engine light) but not always.
The Ford coil pack can be tested with an OHM meter, there are a few How To videos if you google it.
Google: How to Check an Ignition Coil Pack the easy way
My '94 has 300k miles on the factory coil pack
Also an easy thing to do is to mis-wire new plug wires, check here for the correct wiring on the coil pack.
http://www.therangerstation.com/tech_library/4_0_Page.html
It's
4 6 5
3 2 1
the 4 6 5 is the one I messed up
Another thing that causes missing in the 4.0l engines is the MAF(mass air flow) sensor.
Have a read here:
http://www.therangerstation.com/tech_library/CleanMAF.html
Pinging could be a sign of a lean mix, or an EGR system issue, these should also turn on the CEL