98 Ford F-150 P0171/P0172/P0174 Diagnosis: Lean/Rich Codes Conflicting After Engine Rebuild
My 1998 Ford F-150 with a 4.6L engine is still not running properly after a recent engine rebuild. The check engine light (MIL) was already on prior to the rebuild, and it continues to show persistent trouble codes: P0171 (Bank 1 lean), P0172 (Bank 1 rich), and P0174 (Bank 2 lean). The truck shakes noticeably at idle, especially when stopped at traffic lights or in park, but the shaking stops once I begin moving. I've already replaced all four oxygen (O2) sensors, performed a full tune-up with new spark plugs and wires, and cleaned the MAF sensor—none of these fixes have resolved the issue. A mechanic tested fuel pressure and vacuum lines, reporting lower-than-normal fuel pressure and normal vacuum levels. Based on this, I suspect a fuel delivery problem. I've already changed the fuel filter, but symptoms persist. This is especially urgent because in California, an active MIL triggers immediate smog test failure. I need a reliable diagnosis to get this truck passed for emissions. Any insights or troubleshooting steps would be greatly appreciated—especially regarding conflicting lean and rich codes that appear simultaneously. Thank you.
Check for intake gasket leaks—this is a common cause of misfires and incorrect O2 sensor readings in older Ford F-150s. Also consider replacing the MAF sensor with a new one.