Chevy Corsica runs, then quits.

JUSRIDE

CHEVROLET

I have a 1989 chevy corsica 2.8L v-6. I start it in the morning. It will run for five minutes then quit and will not start unless I let it sit for about 5 hours. I have good fuel pressure to fuel rail, but there was two times the fuel trickeled out of the fuel rail. When I first start the car. The check engine light blinks twice then stays on when it runs. I also diconnected the battery to see if I could clear the codes, but that didn't work. What can I do to fix this car?