These problems are almost always associated with battery cables and the battery ground cable connection to the tractor frame.
Don't mess about with replacement cable ends but follow Jay's advice and buy two new cables
Here are a few photos from my collection provided by other owners who have had similar problems to yours.
Please report back once you have installed the new cables
Dave