Ford Repair Questions? Ask a Mechanic for Answers ASAP
There are 2 camshaft position sensors on the 5.4L engine - one on the front right cylinder head and one on the front of the left cylinder head:
RH side(passenger side) cam sensor is bank1 sensor, and LH side(driver's side) is bank 2 sensor.
It should - P0340 is bank1 and P0345 is bank2: