I used to maintain, and later drive, E350 and 450 buses.
As has been said, it's (most likely) the safety interlock system for that lift (though there are other interlocks that can also do it).
The bus can not be taken out of park until all interlocks are satisfied. You will have one or two at the lift.
For sure you will have a door closed circuit.
You may also have a lift stowed circuit. These are sometimes used as a double safety measure in case one or the other circuit fails.
Check the door(s) for any switches or sensors and test them for function and that the wires weren't cut when removing the lift.
Check any remaining wires from the lift removal.
Most often the interlock switch provides a ground signal to a relay (or circuit board) so once identified all you need to do is provide the ground. That can be done at the switch position or at the point looking for the ground signal (relay or circuit board).
Good luck.