98 ford taurus stuck in gear tail lights won't come on?

Everything was fine till I had a taillight out changed it it came on then started it wouldn't come out of gear and tail lights don't work

You either bought the wrong bulb or jammed the bulb into the socket wrong.

Changing a tail light would not be related at all to the transmission issue!