crank sensor issue replaced still receive sensor code no change Why? on 2004 Dodge Dakota

vehicle 2004 Dodge Dakota 3.7L standard 4X4 started to buck one day hooked up to code reader "Crank sensor A intermittent circuit" code registered. Changed out with new crank sensor cleared all codes but issue still remains and same code is being sent to code reader. Any suggestions

Asked by for the 2004 Dodge Dakota
Just read something on this being play in the distributor gear possibly