Have the fuel pressure and fuel volume checked by a reputable mechanic. The fuel filter in the gas line could also be a problem.
The fuel pump in the gas tank has a screen that could be clogged Or the pump may be worn out.
If you have ignition problems ,most likely the car would not restart after a short time Unless there is a wiring problem of some kind. Usually a failed ignition component will not be intermittant- it either works or doesn`t work. Bad wiring may cause an intermittant ignition problem but it is rare.
Have someone pull the Diagnostic Trouble Codes and go from there.
You may have an ignition problem.