I think you mean O2 sensor? Oxygen Sensor? Either way, this will not cause the problem you have. This is more likely another electrical component, like a relay or module. If you can duplicate the conditions easily, I suggest you demonstrate the problem for someone who can perform a proper diagnosis while the issue is occurring. That will be your best chance at finding the problem quickly and without replacing un-needed parts.