Fuel filter replacement fixed this problem on my 2002 F250. ABS light would also come on.
Check your alternator, it will cause the engine to miss if it is not putting out enough voltage under a load.
A flashing check engine light is usually a misfire.
A marble sound under load indicates the engine is out of time. Have the ignition timing checked and the timing chain/belt for damage or excessive play.
There could be loose rings in the engine that would cause this. The valves on the engine may also be chattering.
A 350 engine will idle good but cut out and run rough while driving if there is a vacuum leak. This causes too much air to enter the engine under load.
replace the ignition leads then try the coil aswell Plugs, wires, cap, rotor, injector, internal engine, etc.
not the perfect air fuel mixture. normal under load and acceleration.
when it is under load it means that more and more is being demanded from the engine, be it from speeding up or turning on all auxillaries
There are several things that can cause low oil pressure on your comments 5.9 liter diesel engine. The most common cause of low oil pressure, when under load, is a faulty turbo.
cheap gas or your timing is out of wack put hi test gas in first to see if that takes the ping a way
Ping under acceleration or under load.
The simpliest answer is to check the fuel filter. It may be starving the engine. Lets enough gas through to idle but not to run under load.