Year, Make, Model, engine size please. possibly an ignition or sensor (electronic part).
Stalling while driving may be caused by a collapsing or kinked neoprene fuel line.
Oil in the distributor.
For starters change the fuel filter
change the fuel filter you have two
Need to replace the ingnetion module in the distributor.
There are several reasons an engine may stall while driving, here are three.The fuel tank is empty and the engine is starved of fuel.Not enough power to climb a hill causing a stall.Faulty or damp electronics on a petrol engine can also cause a stall.
Dirty carborator. If its been sitting for awhile the carborator collects dust and other crap in there and clogs it up.
check the fuel filter, may be clogged.
jhbsdionboisfndinboid
When it dies, is it a sudden stall, or does it run rough, and then die? If its sudden, it is most likely a electrical problem, but if it runs rough, or dies when accelerating, it might be mechanical. Such as the fuel lines, carb, etc.
If the check engine light is on...might be a dirty EGR valve.
because it's a bad car