And don’t just fixate on the engine and/or engine issues. That’s only 1 of several components that are/can/will require attention in a high miles vehicle. In the over 150k category, virtually anything can be or is worn out or near the end of its service life.
As much as I think the 5.0 and eco boost are both generally great engines with a solid drive train behind them, I’d take a 100k mile Triton engine in a cheaper older truck over a 160-170k mile newer powertrain in a newer truck. Especially if it’s not a tow rig.
Also laughable wherever you heard the 5.0 was “under powered”. Even the early versions (paired with std 6 speed vs 4 speed on Triton trucks) will absolutely embarrass any NA 5.4 truck.