02 cavalier transmission
The first thing I would check is the shift cable. There are two cables going from the shifter to the transmission and it sounds like one of them might possibly be broken.
Search Chevrolet Cavalier Questions
Chevrolet Cavalier Experts