Not saying this is it but check for fuel pump problems. I have a 02 F350 V10 that had 28000 miles on it at the time and 2 years ago we week camping and got to the campground. We found our spot and backed in. I went out to get my leveling boards out and went back to the truck and all she would do is crank and would not fire up. Next day I tried checking things and got under the truck and started banging the tank and got it to start but ran like ****.
The next weekend I changed the fuel pump and fuel filter.Maybe fuel pump is getting ready to go. But like others said try fuel filter or less expensive things first and go from there.