imported post
I just had the same problem. In my case, though solenoid "A" tested good, replacing it fixed my problem. Solenoid A is the one up next to the battery.
In my case, the starter kept cranking with the kill switch off but the key switch on. Turning the key would stop it, then switching it on would immediately start spinning the starter, before touching the button.