Good idea on taking the oil cooler out. Before I went down that road I stopped by autozone and they had a thin profile oil pressure socket that fits both 1" and 1 1/16". I managed to wiggle it on and got the sensor out.
2 days late here...If you still have the intake manifold off, change the oil cooler/pre-heater housing. They are the most failure prone part on the engine and made of plastic. There's a fair possibility of cracking it when re-installing that sensor or they just crack on their own or warp, then leak.
A forum community dedicated to Jeep Wrangler owners and enthusiasts. Come join the discussion about reviews, performance, trail riding, gear, suspension, tires, classifieds, troubleshooting, maintenance, for all JL, JT, JK, TJ, YJ, and CJ models!