The best you can do is apply voltage to the contacts (which might be workable, depending on how the remote is designed).
To short the contacts you need either a relay or a transistor.
Also I used this remote control only because one of the switches was broken, I didn't have a spare one so I couldn't afford breaking it.
An optocoupler would be better but I figured maybe one day I will repurpose the relay shields for something else, or unsolder the relays. Actually my next project involves both optocouplers (for efficient 12V->3.3V conversion) and relays to drive AC but I will probably have a PCB manufactured for that one!