this is exactly what is happening in my f150. I do have an exhaust leak right where the manifold meets the y pipe. Could that cause it to backfire and barely run? Mine does the same thing you mentioned where it bogs down with foot in the gas. It will randomly shut off and start right back up. i changed plugs, fuel filter, ran a gas treatment.
__________________
Death is certain, Life is not!! Live Free!!