p1151 code help
There are many things that can set this code from cylinder compression to oil level but the most common cause on a F150 is the front O2 sensors. Before buying them check to make sure the wiring harness to the O2 sensors is in good condition and not burn or rubbed.
Next time don't clear the code so that if the repair is correct the light will go off by itself. By clearing the code you will have to make a drive cycle on the PCM before knowing if the truck is really repaired. The light could come back on in the next 100 miles.
On OBD2 systems there are only a couple of codes that will allow the light to turn back off after a re-check. The 1151 is not one of them. Clearing the code was the correct thing to do. IF the light never went off he would not know that it was fixed.

