Have to wait about an hour till my car starts and stays on

a.baker3003_173727
Sat, 30 Jan 2021 09:29:55 +0000
Maintenance/Repairs

2005 Mazda Tribute V6 3.0L

Okey so the thing is, after I drive my car any distance, the car will not stay on when I try starting it again. Usually about an hour or so it will start and stay on.
Recently, it has actually gotten worse to the point where I have to be stepping on the gas when I start the car so it can stay on and I have to rev it a lot in order for it to stay on. If I do this way before the hour is up, it’s like the gas pedal doesn’t catch at all and the engine just dies on me.
Previously, I had the engine code P0171 which means it’s running lean.
So I changed:

MAF sensor

Throttle position sensor

spark plugs and wires

fuel filter

fuel pump

Since then the initial problem stopped but now this is the issue and I have 5 people baffled on it.
Can anyone shine a light on this please???

5 posts - 4 participants