My 2004 liberty's rear glass would not close. The bar on the glass would not go in far enough to flip the latch.
First I sprayed the micro switch behind the door handle with wd40 and it started to work ( thank you to the person that posted it)what i finely did was slot the latching mecanisum on the rear gate so it moved back so it just touched the seal for the rear window.I tried adjusting the hinges but they did not look liked they moved so I put them back were they were.
All I did was make the slots longer on the gate latch.removed it and took the cut off wheel to it and it works fine now.
I do not know why I had to,I could not see what changed but it worked.
Hope this helps a few with this problem.