Any Ideas?

Plugs, cap, wires and rotor are new on the car, only thing left would be the coil pack or if its a fuel issue the pump, I am just confused why it runs perfectly fine for the first 5 min or so then starts acting up, then after letting it sit for 10 min it goes thru the same process again, fine for 5 min or so and starts acting up, thats why it has me confused why it would be the fuel pump.