How to wire up a Foot Pedal Switch to Arduino

That is a stereo jack so it will have common, left, and right. Do you have a multimeter? Plug in your switch and see which pins have continuity when the switch is activated.