depending on vendor that’s either considered a sub-mini microswitch or a ultra-sub-mini microswitch. What are the part numbers on the side? If you get the exact dimensions you can match it up with parts available on digikey or mouser, or maybe even amazon.
Might be one of these: https://www.newark.com/c/switches-relays/switches/microswitch-snap-action-switches?microswitch-type=ultra-subminiature
That Omron D2F-01L looks close. Do these measurements match up?