The car would not start.
the car will run for at least 2 minutes and then cut off.
Okay. You need to install a fuel pressure gauge to the engine to see if the engine is losing fuel pressure. If it is then you have a defective pump or a circuit problem. If it maintains fuel pressure then you are more than likely losing spark. There may be a coil or module issue causing this. Do you have a fuel pressure gauge?