Simulate throttle position with an Arduino
I’d suggest that it might be more straightforward to use a hobby servo to activate the sensor.
Since the pedal sensor is part of a safety critical system, there is a redundant system in order to check for correct operation - this can be two signals that are opposite to each other. Ie press the pedal and one signal increases, the other decreases and vice versa. Damaged wiring or interference would cause a situation where the fault could be easily detected.
So there’s two choices - either fake up the sensor signals or keep the sensor and use a servo or suchlike to activate it.
I also echo the safety warnings - the Arduino etc is not intended for safety critical applications. Things can easily go wrong. There were recent reports of a large car shaped drone that crashed. The investigation uncovered some dodgy electronics.