Assuming your engine is in reasonable mechanical condition, you need the proper fuel air ratio and a hot spark at the right time to start and run a spark ignition engine. What diagnostics have you tried to figure out what is wrong?
Have you checked the spark? It should be FAT AND BLUISH-WHITE, the color of lightning. Start the tractor and check the spark immediately when it dies..
With the tank valve fully open, remove the plug t the bottom of the carb, holding a suitable container below the carb to catch the gas. Fuel should gush out like a cow peeing on a flat rock. If it dribbles or is intermittent, you have a restriction in the fuel delivery. Make sure the vent hole in the fuel cap is clear, check the filter in the sediment bowl, examine the fuel lines for kinks or bends and check the fuel filter in the fuel inlet elbow of the carburetor. If your fuel flow is still restricted, pull the carb and make sure the float is set correctly.
Make these simple checks and report back.