Where to start intermittent cut out
Sorry this is kind of long but the problem has been intermittent so I feel I need some detail. Jeep is 94 4.0.
So last weekend we took the yj up to my parents cabin and it ran perfectly fine on the way up. While up there I did a little driving on dirt roads. On the way home there is a 7% grade that I got about 1/4 mile up and it started cutting out bad. I pulled over, turned around and went back down. Checked the engine didn't see anything apparent and headed back up. Made it to the top which is probably 4 miles or so, with it only cutting once at the very top. Make it back into the city and it starts cutting bad to the point where I didn't think I would make it home, but we finally sputter into the driveway.
My dad has a samari and he said he had knocked his plugs loose on that road before so I checked that first and it ran perfect all week going to and from work. I assumed it was fixed.
This weekend we went camping 150 miles from our house. On the way there it runs perfect including climbing the 7% grade again, and going up hill most of the way. While there we did a bunch of off roading and while climbing this steep trail it cuts again. Check the wires, drive down the trail, and about 10 minutes down the road its cutting again. So I turn it off then back on, drive 10 minutes and it cuts. We get back to camp stopping every 10 minutes to restart because it starts cutting out every 10.
We check the engine and find the hose going to the top of the engine (not the air box one) looks very loose. We plug it back in put some automotive silicon on it and let it sit over night. We get go on a 40 mile drive with off roading again and it runs fine. So I'm assuming now it was the hose.
Head home yesterday and get about 20 miles up the road and it cuts. We then pulled over every 10 minutes for the rest of the way home. Before the 7% grade we stopped for 20 minutes and let it sit. We barely made it up going about 25-30 mph the whole way and stopping 3 times for restarts. Made it back to the house with restarts every 5 minutes as it was getting worse.
Wake up drive to work this morning and its fine again. So it appears it has to be warmed up, under load, and it will reset and run fine for 5-10 minutes after restarting the engine. When it cuts it feels like its not getting gas or air. If I let off the gas it runs fine if I touch the gas it sputters when it does this. Air filter is new, so I'm thinking either hose, fuel pump, fuel filter. Any ideas on where to start?