They look long but they’re self-adjusting. Install them, close the door and that round brass part around the button will retract down the switch. I bought new ones years ago and thought they looked long too until I tempted fate.
Fits 70 71 72 73 74 E-Body Cuda Challenger Barracuda Door Jamb Switch NEW | eBay