Could be the fuel injectors, bad gas, ecu problem, egr valve, you see where I'm going here? You need to take it to a qualified mechanic if you want it fixed right the first time.
you might have water in your gas and it is making it cut out. another reason could be your spark plugs need to be changed. if just one spark plug is bad your car wont run right