Did anyone drop anything into the gas tank? When the car is running the fuel pump starts to draw gas into the line. When something comes down, it could block the pull of fuel and cause a stall. Then after the pressure releases, the item moves away from the inlet. Hence you will be able to start again.
My father in law suggests checking the fuel filter/fuel pump. Also check the wiring for the fuel pump. If they are cleared, then check the ignition module. If the ignition module is failing, you would lose power, since some, not all cylinders are firing (when the car is running).