Hi KennyG,
I had a problem last fall with our Onan 4000 generator. It would self-shut down after 20 minutes running. I replaced the fuel pump with fuel filter just yesterday and the generator is perfect again.
The fuel pump was not easy to replace, but can be done. I highly recommend you consider replacing your fuel pump & fuel filter together. I recommend getting one with the exit tube like this (like the original one) to avoid a potential interference problem that I dealt with with the other available design.
Everyone on these RV forums quickly zero in on the carburetor being the problem, most especially because the unit sat idle for too long and bad gas in the carb gumming it up and such. At risk of insulting others, I don't agree.
I would replace the fuel pump and fuel filter together. It's surely cheap enough. It's all in the labor.
If you decide to do it, first disconnect every battery for the house and chassis. You will need to disconnect lots of wires in the area, remove the solenoid, then the control module. There is a 30 pin connector plugged to the underside of the control module that is very hard to access. I pulled every cable and wire harness out from the work area to gain enough work space.
When disconnecting and removing the fuel pump, make sure to first protect that 30 pin connector with a good rag to absorb any spilt gas.
Repeating what I said many months ago here in this subject, I never run my generator during storage which is typically 7 months but has been as long as 2.5 years, with the gas in the main tank being that old. Starting involves a lot of pump-priming, then chugs a bit and soon smooths out. The main chassis engine starts right up like it ran just the day before.
Carbs for simple engines are a lot more forgiving than people give credit.