This yellow cap is designed for tact switches with a plunger actuator, as used in many Roland synthesizers from the 1980s.
eBay