The items in the image are tactile push button switches.
They are momentary contact switches, meaning they only make contact while being pressed.
They feature 4 pins and are designed for through-hole mounting on a printed circuit board (PCB).
The switches have a high precision mechanism and are used in various electronic products and household appliances.
The approximate dimensions for similar switches are 6x6x20mm