Finally... this problem is solved.
Turns out, the starter had bad grounding when the tractor (engine and transmission) were cold. But that grounding improved when the tractor was warmed up. When the tractor got cold again, the grounding was bad again.
I added a wire from the starter mounting...