I know that money is tight for you right now, and I was in the exact same position a few years back. I had the unfortunate luck of trying about every option out there. First I decided to have a professional rebuild the transmission, which they did for $2300 and gave me a 12 mo 12,000 mile warranty. It ran with less power and just wasn't shifting right, which I ended up taking it back to them 3 times in 4 months - each time leaving it with them for a week. The overdrive eventually fried, which they replaced, but I still had problems. Then I had a complete failure, with less than 12,000 miles on it, but 12 months and 2 weeks from having it done.
I wasn't about to give this highly recommended shop any more cash, so opted for the only thing I could afford (not that I could afford the rebuild in the first place), which was get a salvaged trans. Went through a good month and 4 transmissions before finally getting it running again, and that was only due to the kind mercy of the chief transmission mechanic at the Jeep dealership, that was kind enough to come by my house after work and help me put the trans back together. It is a huge amount of work to pull and install a transmission, which is why any shop will charge you $400 just to look at - and they do need to pull it to know what is wrong with it.
Through all this, I've come to learn all the options possible, and I'd probably have picked differently had I known. Don't do any rebuild. While a rebuild is as good as new when done right, it must be done right. A full rebuild kit for a transmission is less than $200, but requires a lot of work and a couple custom tools (I fabricated mine). You can get a fully rebuilt transmission from the dealer for about $1900 and it comes with a 3 year 90,000 mile warranty, which is better than any shop will offer you. There are even some transmission places that you can get new upgraded transmissions for around $2500. You can get a salvaged trans with a claimed 60,000 to 90,000 miles on it for around $600. Maybe it will work, more likely it won't, but either way count on a good 12 hrs of hard work to pull yours and install it, and that's if you don't do anything to it. If you choose to crack it open and make sure everything is good, there are a lot of steps and each must be followed, but it can be done. I have the complete step by step procedure written by Jeep if you want them.
Food for thought, and a tough spot to be in for sure. Which there were better options, but when deciding I'd also factor in downtime into the cost equation. I was down for a full month, not counting the random weeks of that lame shop doing "repairs", and had no choice but a rental car for much of that, which definitely added up.