The invention provides an automatic change-over switch with disengaging and engaging functions. The automatic change-over switch with the disengaging and engaging functions comprises two actuation switches fixed to a bottom plate, two push rods, a transmission mechanism, a controller and an engaging and disengaging mechanism. The transmission mechanism comprises a motor, a reduction box, a horizontal bevel gear fixedly installed on an output shaft, two vertical bevel gears and two rocker arms, wherein the two vertical bevel gears are respectively in transmission with the horizontal bevel gear and are installed on the same horizontal axis through the corresponding horizontal shaft supporting mechanisms, and the two rocker arms are connected with the push rods through a link mechanism and are in linkage with the push rods. The reduction box comprises a planet gear set and a plurality of gear pairs. The engaging and disengaging mechanism is provided with a planet gear ring selective locking structure used for the planet gear set of the reduction box. The planet gear ring selective locking structure comprises an electromagnetic driving device, an ejector rod capable of moving in straight lines, and a boss arranged on the outer circle of each planet gear ring. The ejector rod interferes with the boss only when being electrically driven and enables the planet gear rings to be locked, the planet gear rings can rotate freely under manual operation, and disengaging and engaging of the transmission mechanism and the motor under the manual operation are achieved. The structure is simplified, and assembling efficiency and reliability are high.