This question pops up several times a year.
Stock answer:
Operating a remote control button is commonly done with an opto coupler.
Transistor across the button (polarity is important).
Opto LED (with current limiting resistor) driven by an Arduino.
Opto coupler must be inside the remote.
Leo..