how can tell if the crankshaft sensor is going bad on 1996 Dodge Ram 1500

i have replaced fuel pump, throttle position sensor, and map sensor. once i then that i drove and had no problem. i went the next day nd would start. three days later it started with no problem. im afraid to drive it.

Asked by for the 1996 Dodge Ram 1500
I would just change the crank sensor only $30 part