This switch is fitted to the Minigraf 4 electronic underpinner (3 positions) and is used to confirm whether the mechanism is in the X, Y or Z position, very common on older underpinners for these switches to fail resulting in erratic wedge positioning or warning messages on the keyboard about x,y or z parameters.
These come with a 300mm long cable so need to be spliced into your current cable.