JEEP GRAND CHEROKEE REBUILD PROBLEM

1998 Jeep Grand Cherokee

When I put the shifter in reverse it doesn't reverse its as if its in park or neutral because I will push the accelerator and the motor only revvs. Before this happened I noticed when I reversed it would need you to push down on the accelerator hard or a few times before it would start reversing.