A faulty crankshaft position sensor can cause intermittent engine quitting while driving and will immediately start back up, to a no-start condition when trying to first start it.
Failure of the snesor may or may not set a fault code in the onboard computer and set the check engine light.
Yours actually has two crank sensors. They are located towards bottom the engine block near the oil filter housing on side of engine that faces the front of the vehicle. They arent difficult to replace. You just need to have the front end jacked up to access them from underneath. There is an air deflector underneath the vehicle to remove, and then remove the oil filter adaptor to get to them:
Fig. Removing CKP Sensors
NOTE Inspect the crankshaft sensor O-ring for wear or damage. If a problem is found, replace the O-ring.
in case you can obtain a diagnostic scanner, here is relearn procedure:
NOTE For additional diagnostic information, refer to DTC P1336.