ice maker over flows

ice maker keeps making ice will not stop even when i shut it off,it will only stop when i close water valve. Is it the sensor on left side of door

The sensor should be on the ice maker.