What is causing my Craftsman push mower to run erratically and quit after a few minutes?
How far apart did you disassemble the carb? Did you clean the metering valve assembly? these are usually super tiny that you need a single strand of stranded wire to get in there and clear the ball bearing or check valve parts.

If you provide the model # I'll try to find the engine diagram and point it out.

You also want to check the float and make sure it is seated correctly and no liquid inside of it.