fuel pump relay if she cut out like that, also if is the later 2.2 direct engine it could well be the air flow meter
with a knackered crank sensor it would run in limp mode, it is very unsual for it to cut out once in limp mode,they usually cut out coasting but not at idle also might take a bit of pumping the gas pedal to start her up