what causes intermittent loss of cmp or ckp? what do I need to replace to fix it? on 1999 Dodge Avenger

Enthusiast 01be16a5a93688912f14755221fb15211b518d9a788cf01b455e03cc1bd585ac
Code # P1391 says: intermittent loss of cmp or ckp..what do these abreviations stand for? I lose pressure and can't keep car running without it "bucking" like crazy and continually shutting off after engine warms..approx: 10-15 mins. and then has to cool before re-starting.
(2) Answers
(1) Comments
The CPM stands for Cam Position Sensor and the CRK stands for Crank Position Sensor. It would be really helpful to know what engine you have in your vehicle so I could look at the wiring diagram, but the Cam and Crank Sensors do fail. It would be best to study the scan tool data when the car is stalling, you want to see a loss of the signal data from either of these sensors, that would really 'ice it' or verify the cause of the problem.
Thank you for your assistance and reply it was quite helpful. I did replace the crank pos. sensor and car is good as new, thanks again.