its either fuel or signal going to coils.. which is like 80% if the engine.. I would also check out how it dies, did it shudder then shut off? or just shut off? fuel shudder helps to think its fuel, if it just died with no warning higher rate of possibility its electrical., signal to injectors to.. Any codes?
(edit) CHECK INJECTORS!