car will stall and shut down while driving
Is the check engine light on? My top-of-the-head guess would be a bad fuel pump but a guess is all it is.
Any number of things could cause this. Fuel pump, crank sensor, etc.
You might consider checking and cleaning the battery terminal post on the chassis. This is NOT the battery terminal but the one near the battery positive terminal. It is located under a small black cover. Remove the nut and clean all of those terminal ends. All electrical power except for the starter motor windings go through that terminal and over time scale or corrosion develops and can cause sudden electrical failures to everything.
After that and if that is not the problem, then you have to determine what is missing; fuel pressure or spark. And I’m assuming since you did not say that there is no CEL on.