If you are still running the OEM battery, change it. My 06 JD3320 didn't act like yours when my battery crashed, but it sure exhibited some odd behaviors. When JD755 said electrical, I thought battery.
Of course that is my suggested fix for about everything that goes wrong with a 3x20 series tractor.
That's not a bad idea actually. Let's say the battery is bad and the marginal voltage is causing trouble. You might want to get a meter and check it.
Rob