my dodge 1995 ram 1500 when it gets warm it just quits but will always start bac on 1995 Dodge Ram 1500

I have changed the throttle censor, o2 censor, egr valve, new plugs and wires, new distributor cap and rotor button, new gasket under throttle body.

1 answer
I'd replace crankshaft position sensor next.