What to check for intermitten loss of csp or ckp. on 2001 Dodge Ram 2500

I have already replaced the crankshaft sensor and the pick up coil previously before this. What do in need to check out now. Thanks.

Asked by for the 2001 Dodge Ram 2500
You have an intermittent no start in other words?
It starts fine. It does not run right. It bucks and does not shift right when it's warmed up. Have checked the wiring and it looks fine.
Any trouble codes in the computer and if so what are the numbers?
Don't remember the code. I have a call into my mechanic who did not have time to look at the truck yesterday. I will reply back when I get the code.
That will help!
The code that was coming up is p1391.
How many miles on the engine?
The truck has 147,000 on it but the motor has been replace before I bought it and they could not remember how many miles on it be it was to be lower than what the truck has.