How to debounce a low pulse switch for automotive lighting
With no information on what is in the box we can only guess. The first thing I would try would be to put a capacitor across the switch; .1 uF would be a good choice, maybe more?