02 Ford 02 Sensor Wiring. P0156 is related to the Left Downstream O2 sensor voltage being low. A wiring diagram is a streamlined standard photographic depiction of an electrical circuit.

P1151 is Right Upstream O2 sensor not switching. You at least have a bad or aged Right upstream and possibly a wiring issue with the Let downstream O2 sensor which you replaced. A wiring diagram is a streamlined standard pictorial depiction of an electrical circuit.
Just plug in the OEM O2 sensor lead and wire the red lead to a RUN switched lead and ground the black wire and you are ready to plug in the AFS74 or equivalent.
A wiring diagram is a streamlined standard pictorial depiction of an electrical circuit. Rf oxygen sensor troubleshooting notes. Variety of 4 wire oxygen sensor wiring diagram. I am installing an efie device for better fuel economy.