If you have swapped out all those parts several times with the same results, it probably is in the wiring. Double check and clean all connections. Also, as others have stated, make sure all grounds are there and grounded solid.
I would bet the issue is one connection that is not connected good or is not a clean connection.
I have seen issues on equipment where the battery cable was just barely loose on the battery post. Tightened it up, and the problems went away.
Just check everything from one end to the other, and you will probably find it. There is only about 30 connections on the whole tractor (including grounds), so it shouldn't take all that long to check.