that motor will have no trouble running up to 5k. Should really propped at 5500rpm to prevent coking in the cylinders unless you decarb regularly. Probably has a revlimiter on it but will not kill the engine. I would check all my battery connections and kill switch. With it just dieing like that it sounds like you lost a connection somewhere...that sounds electrical...fuel,air, or anything else will have spitting and sputtering. Make sure your connections are tight and free of any corrosion...on the boat and under the cowling. If you can run up over 5k you are fine. Doesn't mean you should run there all the time...it just needs to be propped to around 5500...otherwise you are lugging the engine all the way through the rpm range.
"But if serving the Lord seems undesirable to you, then choose for yourselves this day whom you will serve, whether the gods your ancestors served beyond the Euphrates, or the gods of the Amorites, in whose land you are living. But as for me and my household, we will serve the Lord.” Joshua 25:15