P0171 and P0174 Fault Codes on 1998 Mazda B4000 - Engine Hesitation and Rough Idle
I took my 1998 Mazda B4000 to a garage, where they replaced the mass airflow sensor and fuel filter. Despite these repairs, the vehicle continues to show P0171 and P0174 diagnostic trouble codes. The engine also hesitates during acceleration and runs with a rough idle. Any suggestions on potential causes or further troubleshooting steps?
A vacuum leak is likely the root cause, especially since the 4.0L engine in your Mazda B4000 shares similarities with the Ford 4.0L. The most common source of such leaks is the PCV (Positive Crankcase Ventilation) hose.