XKB100170 should fit. The plonger adjust itself when is presed by the pedal.
Don’t compress the plonger by hand, it will be too short.
If you done that, on the old one take a clamp, or bench vice, to pull it out.
Then you can try on the new one.
XKB500120, is a total different switch, need a...