Car occasionally loses power whilst driving. I can just about pull over before it stalls. Starts right back up. Battery, alternator are fine.
Is the check engine light on? What engine? How many miles on it?
Ignition switch and crank position sensor come to mind. You could try driving w/just a single key in the ignition, sometimes dangling keychains will cause this. That didn’t work? To know the actual cause, first step, your shop will have to figure out a way to determine if the problem is no-spark, or no-fuel.
Check engine ligjt on rail pressure sensor? Almost 200,000 miles
Low fuel pressure would cause stalling. Clogged fuel filter, failing fuel pump or bad pressure regulator could be the problem.