Need more details on your machine as there are different wiring depending upon.......... Cab or not.
Type of transmission, Manual, Hydrostatic of GST
Please provide more history on what lead to the main switch being changed.
Some models use a power to stop fuel solenoid. There is a timer relay...