The carburettor should have a solenoid that rams a bung up the main jet so no fuel can enter the engine via the main jet
IF the engine will run happily by spraying starting fluid down the venturri ( Heed Bigems warning about this ) but not without it then no fuel is getting into the engine via the carburettor main jet
So either the main jet itself is clogged or the solenoid plunger is not retracting.
The plunger is spring loaded out ( off ) and voltage from the key switch pulls it back in
So with the original carb either there is no voltage to the solenoid ( or no ground ) or the main jet is clogged
With the new carb then it could be anything unless you bought a genuine B & S one or a certified aftermarket one from a real mower parts suppler.
IF you bought is cheap off Ammozone or Evilpay then better than average chance it is a defective one bought in China as scrap metal then resold in the USA to fools who believe that everything on the planet is made at the North Pole by the elves from fairy dust and the only price difference is greedy companies ripping them off .