I had an identical problem on a 3.0 mercruiser as far as overheating at high rpm. above 3Krpm would run hot. thermostat would hang up. installed new thermostat problem solved.