Welcome to the Village from Colorado
I've used a WEN brand that I purchased from Amazon.
WEN WA0392 120V 15-Amp Momentary Power Foot Pedal Switch
It's been problem free for me. Today's price is about $12.00
I operate my Dewalt as ChelCass described. . I agree - I wouldn't recommend modifying the wiring. .
Here's the amazon switch that I use: https://www.amazon.com/gp/product/B08BZX4XGY/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1