What is the easiest way to release the electrical connection when replacing the passenger side oxygen sensor on a 2004 Ford Explorer XLT?

That's the reason that many people buy the generic oxygen sensor then splice the wires rather than fight with the connector. Sometimes it's just not worth it. just grab it on the plastic and pull