Faulty O2 sensor: The O2 sensor itself may be malfunctioning or its connector is loose or corroded.
Wiring issues: There may be a break or fault in the wiring harness connecting the O2 sensor to the vehicle's engine control unit (ECU).
Air/fuel mixture problems: If the air/fuel mixture is too lean or too rich, it can affect the O2 sensor's readings and cause the P1151 code to set.
To diagnose and resolve the P1151 code, you should:
Inspect the O2 sensor for any signs of damage or wear, and ensure that it is properly secured in place.
Check the wiring harness connecting the O2 sensor to the ECU for any damage or loose connections.
Use a diagnostic tool or scanner to retrieve the specific diagnostic data for the P1151 code and check the parameters recorded by the ECU, such as O2 sensor voltage and air/fuel ratio.
Based on the diagnostic results and the specific symptoms present in your Mustang GT, you may need to replace the O2 sensor, repair or replace the wiring harness, or address any underlying issues with the air/fuel mixture to resolve the P1151 code and restore proper engine operation.