Is it a gas or diesel tractor? Reason I ask is a gas tractor has a key switch with OFF RUN START.
A diesel only has two positions.
With a diesel tractor, you. Must use a one wire self exciting alternator.
I learned that the hard way and had to order a conversion kit to change my new alternator from three wire to one wire.
Yesterday's tractor I think may have a conversion kit that has the brackets and everything. Including alternator
I removed All of the wiring and started from scratch.
Remember with a generator that you have to excite some part of the generator after the battery has been disconnected to make it charge again.
Some of the more experienced tractor owners may be able to tell you how to save the Genny.