Yes disconnect battery. Disconnect everything under car first, then engine bay. Take pictures of the engine bay routing. Then get yourself a 15’ length of nylon twine so it is strong. The electrical connection, remove the plastic and take picture of wire orientation in plug. “Remove” steal bracket support., attach rope to end tape up end robustly. Feed line down out of engine bay. Once the end with the rope is on the ground, remove the rope from the harness. You will reattach your rope to the new harness. Remove that metal bracket and plastic cap from new unit, tape rope to end and pull back up to the engine bay, thru clam-shell at the firewall. Remove tape, install bracket and plastic wire plug. Easypeazy.
Change out oil level sensor and o ring since you are there, or not if you recently did oil change.
Edited on PC for Iphone typos - see below on the oil level sender change out - I forgot to clarify)