car only moves if you unplug the solenoid on 1995 Oldsmobile Cutlass Ciera

previous owner lost a tire while going down the freeway and the car hit the ground and since then the car will not work in any gear, but if you unplug the solenoid it will work in forward gears only but will not move in reverse. Is there a relay or would the knock sensor be a factor?

That's a good 1 , I wouldn't know how to answer that. I'm going do some research ..