I had the same problem on a 1970 Merc 40.
After 20 mins or so, the motor stalls… often it don’t stop completely, but it runs "rougly" as flooding.
Checked many times the carb and fuel pump, I finally find the problem was the under flywheel coil… or, better, the cable connection into the coil.