05 mobius ls sputters and dies?

So I just bought this boat and it has run flawlessly up until today. Me and some friends were out running and the boat ran no problem. We stopped for a while and then divided to go back and play some more well the boat ran fine for a min and then would just kind of sputter and die. The boat starts right back up but will die again doing the same thing. It doesn't do it at any certain rpm or speed. So after trying to figure out what was going on with nothing found out of the ordinary we packed it up and headed to the boat ramp the boat does the same thing a couple more times then runs fine. I have no clue what it could be. It is the indmar assault 325 motor and had 165 hours. Any help?