Sunroofs (moonroofs, cable-operated-sliding-glasshole, whatever you wanna call it) can be a PITA to deal with. But this isn't exactly the catastrophe you're making it out to be. In most all cases, you should at least be able to get it closed, and then it's simply a choice of paying the money or not using it.
So you've gotten the closed part...have you made any attempt to see what's binding? You're unlikely to find many people who will want to actually troubleshoot it rather than just quoting you a new track assembly. So you're probably going to have to look at it yourself.
First thing I would do is get access to the motor. Should be behind the plastic panel holding the map lights, right above your rearview mirror. Pull that and it should be staring you right in the face, at which point it's usually like three bolts to remove it. Once removed, the glass should slide by hand. If there is a really rough spot, you'll find it. The fix could be pretty simple...could just be the little wind deflector at the front jamming it up.
It could also be perfectly fine but in need of lubrication. If it's physically capable of closing, but the slides and/or cables are dirty and dry, the smallest little hiccup could keep it from closing. Some cars are more sensitive than others...I know I've seen the 'auto up' function on windows malfunction due to something as trivial as aftermarket tint causing extra friction inside the the rubber guides for the glass.