Just replaced my camshaft position sensor and the synchronizer because it was squealing pretty bad. Got everything lined up properly (I think) and put it back together. Truck runs fine and no more squeal. But now the second or third time I run it, the check engine light comes on. Pulled the codes and comes up with a P0340. Also came up with a P0100 or P1000, but that seems to be a false reading. Any idea why it only shows up on the 2nd or 3rd start? Does the code get thrown if the sensor isn't lined up properly? I think the sensor must be working because I don't think the truck would even run if it wasn't.