Few thoughts without actuall placing my paws on it. Since you have an inertia switch, I'll assume that the engine is fuel injected. Have you tried pulling some of the plugs as soon as it dies to see if they are actually wet? You could have a bad diaphram in the fuel pressure regulator causing the engine to load up with fuel and die. To check, pull the vaccumm line off of the fuel reulator to see if there is fuel in the line. If so, then the regulator is bad. I would also connect a gauge to the fuel rail's schrader valve to see what the fuel pressure is doing when running good and just as it dies. I would also follow the fuel line from the tank to the fuel rail for any hidden fuel filters. You could also have a bad ingition coil that is breaking down under load.
2016 Ford Fusion SE (1.5L Ecoboost)
2015 Ford F-150 Lariat Supercrew (3.5L Ecoboost)
2010 Lincoln MKZ (3.5L DOHC)
2007 Ford Focus SE (2.0L DOHC) A.K.A. "Zippy"
2004 Ford Freestar Limited (4.2L OHV)
Generac 17.5KW Generator (33HP Twin Cylinder)
Farm Hand 60 Gallon Compressor (3 Cylinder)
AMSOIL in everything I own that I can get it in...
"Have a good day, and a better one tomorrow"