Electronic engine control component(s) failing due to heat, probably. Rather than throwing components at it, identification of the problem is accomplished with a live engine analyzer when the engine is not responding.
Looking for a Used F-150 in your area?
CarGurus has 180,680 nationwide F-150 listings starting at $1,500.
Search Ford F-150 Questions
Ford F-150 Experts