P1336 is not a sensor issue most likely, there are different codes for a crank or cam sensor issue
Cam synchronizer would be first thing to change, it usually comes with a new cam sensor
These are the codes for those two sensors if they start to fail
P0335 Crankshaft Position Sensor A Circuit Malfunction
P0336 Crankshaft Position Sensor A Circuit Range/Performance
P0337 Crankshaft Position Sensor A Circuit Low Input
P0338 Crankshaft Position Sensor A Circuit High Input
P0339 Crankshaft Position Sensor A Circuit Intermittent
P0340 Camshaft Position Sensor Circuit Malfunction
P0341 Camshaft Position Sensor Circuit Range/Performance
P0342 Camshaft Position Sensor Circuit Low Input
P0343 Camshaft Position Sensor Circuit High Input
P0344 Camshaft Position Sensor Circuit Intermittent
The codes the computer DOES NOT USE are as important as the code(s) it does use, Ford list here:
https://www.therangerstation.com/tech_library/OBD-II_codes.shtml
These are very simple computers, not at all like a laptop or even smartphone, they use boolean logic, basically true/false, 1/0
So it just goes thru the list until it finds a true and sets that code
STFT between -1 and +7 is normal, it needs to get to -15 or +15 and stay that way for awhile, to set rich or lean codes
And LTFT(long term fuel trims) are the same they need to get -15 or +15 to set codes
So that P0174 is an anomaly , not sure why computer would set it