Nicole,
I help maintain my family’s fleet of Hondas, including our current 1998 Accord LX, and former 99 Accord Lx, and 99 Accord EX.
The miles on these cars ranged from 66,000 miles to 250,000 miles and I never had a transmission issue. I think there are a few things to look into that are common problems before going to the transmission. First, check your tranny fluid. With the car off, pull out the tranny dipstick. Is the resevoir empty? Do you smell a burnt smell? Like someone said earlier, I have seen D4 blink, check engine come on when there was a trouble code. You could try as a last resort driving it like a manual. Start out in 1st gear, then shift into 2nd. I know people with Honda Odysseys that drive a bad tranny like that. Probably not good for it, but if that works then it looks like you have a bad torque convertor or bad gear.
Other issues that are common, and I have seen maintaining 3 cars identical to yours are: Ignition switch, engine control module, or catalytic convertor (exhaust). On my 99 V6, coolant leaked on the ECM, and created an erratic acceleration problem, and caused the car to jerk, and buck like a horse. An uncommon issue, it may happen if coolant leaks on it.
More common with any car is a clogged catalytic convertor. My 1998 accord lx got clogged, and it would not drive over 20 miles per hour like you said. Same thing happened with an old buick i owned, and a volkswagen my sister owned.
Ignition switches are common on Hondas, and was replaced on my 1998 accord lx. When the contacts go bad, sometimes the car shakes violently, stalls, or jerks as the switch is losing power and cutting the engine off and on.
take these all in mind, and good luck.