camshaft position sensor fault
On my 1999, I'm pretty sure the cam and the crank sensor will generate the same fault code. For the price of the sensors, I'd just change both. Eliminate any doubt about which one is at fault.
The distributor gear is off by 1 tooth, you probably recently have a a timing belt.
p1039 for a 1999 ford ranger indicates a camshaft position sensor fault. it could be the sensor, wiring, or the PCM. must be properly diagnosed to determine the real fault.
OBD 0068 indicates a fault in the MAP throttle position sensor.0068 indicates a fault in the MAP throttle position sensor.
P1391 - intermittent loss of cam or crank. Typically indicates a problem with either the crankshaft, or camshaft position sensor. The first thing I'd do? Replace the cam sensor in the distributor, the most likely cause that hasn't been eliminated yet. After that it comes down to chasing wires. Generally when you see this code it's a cam senor fault though.
Code 54-No cam signal at the PCM-No camshaft position sensor signal detected during engine cranking.
Knowing what the problem is and rectifying it are two different things. You need to speak to a mechanic or a dealership to determine your best course of action.
camshaft/crankshaft position corellation fault
PO120 EOBD Code Throttle position sensor A/ Accelerator pedal position sensor A/ - circuit malfunction.
Indicates a fault with the camshaft position sensor circuit. Either the sensor itself, or the wiring for it is faulty. If it occurs after replacing heads or engine assembly, check to make sure it is plugged in completely and that no damage was done to wiring harness.
Trouble code P1345 means: Camshaft To Crankshaft Position Correlation Fault