The generator and utility feed breaker must be interlocked to meet code. Otherwise by mistake you could feed generator power back into the utility line and electrocute the guy working in the hole in the road. For the generator sizing, you really should try to get some specs on the pump or measure the current.
I have to agree with @Lucien that you need a interlock kit or transfer switch because it can be very dangerous if you get confused. Well pumps doesn’t have a starter nor heaters, it’s just a set of contacts that pull in when the pressure switch drops to its desired setting. 45 gallons per minute is a lot of water and you Need to set your pressure switch a little lower which is probably why your motor keeps going out. I’ve had mine 23 years and changed the motor 1 timeThank you. I don't know how to do that.
I'm not above paying an electrician but I can't seem to find one.