These codes on this Expedition, was due to a cracked intake manifold. It's a common issue on these 5.4s to have intake gasket issues which will code for p0171 & p0174. Not saying it will be the issue with yours , just the most common and the issue with mine. Remember to Subscribe!!