I wouldn't go by "looks".
I have worked on quite a few xj's and by far have had the best luck with purchasing replacement crank sensors directly from Jeep. Quality control/reliability/longevity is higher than many of the aftermarket ones, which are very hit and miss.
Buy it from Jeep and you'll know you're getting the right sensor to mate with your vehicle.
If you do purchase aftermarket, getting the correct sensor should not be a problem for a partsman that knows their stuff. It is basic application data.
99 Cherokee, 4.0 AW4, NP242
Past Jeeps: 49 Willys, 81 Scrambler, 88 Comanche
Without "data", all you have is an opinion!