If it was setting a cam/crank correlation code, not likely to be the sensors. Chances are the engine physically jumped time.