Vehicle stalls when put in drive or reverse. Idles regular in park and neutral. on 1999 Toyota Corolla

I replaced the spark-plug wires today and after doing so started the car. It started up and runs regular in park. In neutral it shakes a bit more but runs ok. When I put it into reverse it starts to shake hard and eventually dies, same thing when in drive. Pushing on the gas-pedal causes it to die instantly.

I checked to make sure the wires were installed right, they are. I put the old wires back and the problem is still there.

So far from research and more mechanically inclined friends the culprits could be...
One of the sensors, Idle control valve. It could be the fuel filter although I wouldn't think that would make sense since the car runs and revs up fine in drive.

The car has gone through two more major accidents, and numerous small bumps or scrapes from kind people in parking lots.

More info I can provide is... I frequently give rides to my friend who weighs quite a bit and that has worn the car down. The tie-rods need to be replaced. The engine mounts are worn and make the motor shake more then regular.

That's all I can give. I am clueless as to what it is, and I don't have a job currently so replacing parts until I find the cause isn't the biggest option.

Any ideas or helps would be greatly appreciated.

Thank you.

I don't have any diagnostic codes yet.

Asked by for the 1999 Toyota Corolla
sound like bad trans senold for torq converter bad
I actually redid the firing order and voila! Sorry to waste everyone's time, thank you for your suggestions!
1 more answer , 1 more comment
You need to double check the areas you were working in. Make sure that you didnt leave any vacuum hoses loose causing a vacuum leak or that you unintentionally knock something loose. When its sitting there idling listen for a vacuum or sucking type noise. If u can hear it you can follow it to the source. If the wires are on right that would be the next place Im checking out. Hope this helps. if not let me know if u find anything else.
Awesome Thank you, checking that tomorrow!