Don't buy gears for the d35. You're already past the point people generally recommend for a d35 on tire size...
Do yourself a favor, swap in an 8.25, d44, or 8.8. Those are in order from easiest to hardest; the order cheapest to most expensive is probably 8.25, 8.8, d44 because people pay a bit of a premium for a bolt-in XJ d44.
General prices:
8.25 - $100 for the axle at a pull-a-part, $50 allowance for U-joint straps, U-bolts (spring rebuilder made me my set for $43), you can add 100+ for brake hardware and gear lube if you want to get things right before you put it in. Throw on another 100 for a ruffstuff/ballistic/whatever diff cover to avoid scraping up your gears the first time you back into a rock.
XJ d44 - not sure how much for the axle, seen em go for 2-400 occasionally. Same $50 for U-bolts, U-joint straps, etc. Same idea on brake hardware and diff cover too.
8.8 - come stock with disc brakes! $100 for the axle at a pull-a-part, $30 shipped for the driveshaft adapter flange (2-2-1379 from alljeep.com is the cheapest I could find), $120 for ruffstuff's 8.8 simple swap kit (U-bolts+perches+shock brackets), say $20 for new brake lines. Same deal for the diff cover.
Add that to gearing costs. I'd rather spend a bit more for swapping in a new axle that isn't going to explode than spend gearing+labor costs on the d35, blow it up, then do it over again (if you're really stubborn about the d35) then swap in one of the above axles and gear that one too.