With my first XJ I've had more issues with battery cables than the starter. Definitely check those first.
When I did have a bad starter on the 4.0 I swapped it with a reman from auto zone, like 16 years ago now. Replaced the alternator with a reman from advance auto in 2003 it was fine last year when I replaced it with a new unit because I was replacing almost everything that was powered by the belt drive. Both alternator and starter have lasted longer than factory parts with a lot more miles on them than the factory parts ever saw.
Remans can be good of course these parts were rebuilt in early 2000's the quality may have slipped since then.
Look at the reviews for the parts wherever you are thinking of buying, if it's got really high failure rates you should see some bad reviews. used parts and NOS mopar might be a good source for oem.
But I wouldn't shy away from another autozone starter for the 4.0 if I needed one. Napa has one of the best reputations right now for parts, most of the others (autozone, advance, O'Reillys) are using the same suppliers who just box the parts in house name brands.
On various cars I've used denso rebuilt starters, alternators and TYC new alternators with good results recently.
It also may be that the technology on the old 4.0 jeep is old enough the reman do ok rebuilding it.
But on most newer cars like say 2005 and up the remans have very bad failure rates I buy low mileage used parts when I had to replace the starter and alternator on my f150. same for the jeep, Toyota and Hyundai I work on, I usually source low mileage used because average remans fail quickly. On the Toyota I sourced denso radiator and rebuilt alternator because they were the sources for Toyota. On the commander I did use the best grade rebuilt alternator advance had so far so good on that.
For electron parts like CPS and such mopar is the way to go. Average parts suppliers are all using Chinese knockoffs which fail very quickly. Napa is the only company worth taking a risk on for electronic parts but try to get mopar on electronic sensors when you can.
Sent from my iPhone using Tapatalk