If the starter begins to turn the engine over when the batt is reconnected and you indicated the key switch is disconnected its your solenoid switch on top of the starter.
Normally when you turn the key power is sent to a solenoid coil which closes the main switch connecting the battery cable to the starter itself. If the solenoid switch is stuck in the closed position the starter will turn the engine until the batt is disconnected.
Jim