I have a cub 169. It does something similar. My battery full charge, I get a hard chattering solenoid when key is in start position. From the key mine goes to PTO limit switch. And the to clutch/brake limit. Then the signal goes to the solenoid. Did you check voltage through these two switches...