ok, so today on the way to the shop the truck ran fine, got to work, replaced the battery as it needed one. Left to go home drove all the way with no issues. But same thing as before when I pulled up to the mailbox and left it running it died, got back in, cranked for about 2-3 seconds and started, drove around the complex to my parking space, threw it in reverse and it died, started right back up.
I am at a loss now
New battery
new IAC
new fuel pump
new fuel filter
New plugs about 20K ago
No codes/ misfires etc
Could it be anything with the outside temp as it was cool this morning but hot this afternoon and it has been hot out every other time it died- Maybe a long shot but just trying to help out with as many clues as I can
Could it be a crank pos sensor on its way out or is that something that either works or don't
Edit: I just went to run an errand, temps are cooler and I didn't exceed 30 mph, all in town driving- truck didn't stall- Just trying to add more clues