When I drive for for 30 minutes or more the van dies. Starts after few minutes. on 1997 Dodge Ram Van 3500

I replaced the rotary cap, button. But still have the same problem.

1- Suspect crankshaft position sensor.
2- Possible ignition coil.
3- Have it scanned for codes by your mechanic, maybe leave it at the shop a few days!