Is this all of a sudden (yesterday it was fine and today it's not) or has the boat been sitting for some time and now it's performance is bad?
What speed would you normally get at 4000 RPM? And what are you measuring speed with? If it's the speedometer, check that the pitot hole is open and not clogged in the front of the drive. Check the simplest things first.