Well now we are getting some where.
Grab a can of carb cleaner , pull the air filter & get someone else to crank the engine while you squirt some VERY SHORT SHOTS of carb cleaner down the carb.
It should start and when it dose, as soon as the engine sounds like it is going to stop, give it another SHORT SHOT.
It will sound like the engine is going to blow up but it won't.
If you can keep it running for 30 sec or more then we have confirmed you have a fuel supply problem .
Some carbs draw fuel only through the main jet, with the idle jet take off after the main jet or just below the main jet take off in the fuel tube.
Others have an independent pilot jet fuel supply.
What I believe is happening is the solenoid has failed ( or the wiring to it ) so the engine gets enough fuel to fire at cranking speeds but not enough to run at idle speed .
As the shop fitted the carb I would hope it is a good one .
If the solenoid has a single wire to it check that the carb body has a good ground
If it has 2 wires check that the ground side of the wire is still connected to the engine .
Also check that the solenoid retracts fully when the key is in both the start & run positions
As the engine swap was a Courage to a Command then there should be no wiring problems other than a nut that was not tight or a ground strap on the carb omitted