I think you mean PCV, not PVC. I had the same 2 codes on my 1997 F-250 7.5l. Ford replaced the PCV and vacuum line that connects to it.
I had the code P0171 on a Ford Contour 1998 2.0L GL. I replaced the PCV hose.
.
On my 1998 Ford F150 i replaced the fuel filter, air filter and i cleaned the MAF (Mass
Air Flow Sensor) with a can of Mass Air Flow Sensor Cleaner. I then disconnected the NEG battery cable for about 30 minutes to reset the error code. That fixed the problem for me.
.
I have a 1998 F150 5.4 - the failure on mine was a vacuum leak at the throttle body end of the pcv line.
I would check for a vacuum leak before I started replacing parts.
Trouble code P0171 means: Fuel System Lean (Bank 1)
Trouble code P0171 means: System too lean (bank 1)
Trouble code P0171 means: Fuel System Lean (Bank 1)
Trouble code P0171 means: Bank 1 Combustion Too Lean
Trouble code P0171 means:System too lean (Bank 1)
Trouble code P0174 means: Fuel System Too Lean (Cylinder Bank 2) Trouble code P0171 means: Fuel System Too Lean (Cylinder Bank 1)
P0171 is System Too Lean (Bank 1), which means that the oxygen sensor detected an excessively lean air fuel mixture.
Trouble code P0171 means: System too lean (Bank 1)
Trouble code P0171 means: System Too Lean (Bank 1)
Trouble code P0171 means: System Too Lean (Bank 1)
Trouble code P0171 means: System Too Lean (Bank 1)