If you want to go a bit on the inexpensive side go with a YJ (1987-1995) they're leaf sprung with beefier springs than a CJ and they're fuel injected. They're not as desirable because of the square headlights, but I loved my YJ. In 1995 they had beefier front U-joints as well, and they had a family style roll cage from I believe 1993 and up. The CJ is superior in many ways though. It is built sturdier with less plastic. It has a beefier axle in the rear than the YJ and they're available with an AMC V8. The front axle also uses lock out hubs instead of the YJs vacuum system.
All that being said a CJ will be more expensive in equal condition. A good CJ will run $5 to 7K.
Nowadays you can get away with getting a well builtTJ for under $10K. They're equipped with fuel injection and coil springs which are great offroad, and on road. Its truley a massive upgrade vs leafs.
Most important thing for me would be that all YJs and almost all TJs came with a Dana 35c rear end. Toothpick axle that breaks REALLY easily in 4lo. Some TJs came stock with a Dana 44 rear axle which can safely handle 35" tires.
The other thing to pay attention to is your drive line angles when a lift has been installed since wheelbase is so short and stay away from big body lifts and CJ-5s They're worthless.
Its just my humble opinion but I hope it helps.