You need 5" total to run 35" tires, and a 4" suspension lift plus a 1" body lift would work fine. That's what I am running on very tough trails and it works fine.
With 4" of suspension lift, you should also install a SYE kit onto your transfer case and an aftermarket CV driveshaft or you'll have major vibrations. To make the CV driveshaft work correctly, the suspension lift you install needs to have adjustable length control arms, with adjustable rear upper control arms at a minimum if you can't afford adjustable length control arms all the way around.
But more importantly, what rear axle does your TJ have? If the rear axle is the standard Dana 35c, I can't recommend 35" tires if you offroad. If the rear axle is the stronger optional Dana 44, go for it. You'll also need to regear both axles to compensate for the 35" tires heavier weight and larger diameter or your Jeep will be a real dog. And that is assuming you have the 4.0L and not the smaller 2.5L engine where I wouldn't recommend 35" tires at all.
Making a Jeep ready for 35" tires is one of the most expensive things you can do when you do it properly. 35" tires really add a lot of stress and issues that have to be taken into account when planning to install them. 33" tires offer far fewer issues and they can be installed for far less $$$ and fewer issues. You can even get away without the SYE kit and CV driveshaft if you go for a 3" suspension lift with a 1" body lift to provide the 4" of clearance recommended for 33" tires.
The below image will help you figure out if your rear axle is a Dana 35 or a Dana 44. Your front axle is a Dana 30 though it may remind you of a Dana 44.
And a big welcome to WF!