5.4 140T miles. It has exhaust leak P's side at a CAT why wont idle? on 1997 Ford Expedition

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
Codes only say bad O2 sensors.
(1) Answer
(2) Comments
Fix the obvious stuff first!! Like the exhaust leak, then clear codes, if 02 code comes back replace it. 02 cant read correctly with leak. This just might fix all of your problems.
Thanks but I failed to mention the O2 faults came first and I was told that they can't make your engine run bad. Can the lack of back-pressure from the leak cause the bad idle?
You were told wrong! Fix what you know is needed first. Then if it needs more start the diagnosis!