Lean codes could be from the misfires, as air is just pumped thru the cylinder if there is no burning, O2 sensors measure Oxygen in the exhaust not fuel, so unburn fuel goes to Cat to be burned off.
Probably multi-cylinder misfires if both banks show lean.
And the lean mix will also cause the misfires, so it could be a cause or an effect, lol.
The lean codes mean the computer has tried to richen the fuel mix but O2s are still showing lean, so the code is set.
The computer sets a 0 fuel trim based on MAF(mass air flow) sensor, the MAF data reports the amount of air coming into the engine, the computer uses that data to set the 14:1 air:fuel mix(0 fuel trim), the O2 sensor then reports if that mix has too much or too little oxygen left after it is burned.
So it all starts with the MAF sensor data, that sets the 0 trim marker, a dirty MAF sensor will under report the amount of air so engine is running lean even though computer thinks it isn't, it adds more fuel based on O2 sensor data but it has a pre-set limit, when that is reached it will set the lean code.
I would clean MAF sensor and inspect it's air tube to the intake, also PCV hoses and larger vacuum lines.
Any air entering the engine without passing thru the MAF sensor means computer is using the wrong 0 trim for fuel mix.
Lower fuel pressure has a similar effect, the computer can not monitor fuel pressure, the 0 trim air/fuel mix is based on computer opening a fuel injector for XX milliseconds based on 65psi fuel pressure, if fuel pressure is low then less fuel comes out, O2 reports lean computer opens injectors longer until it reaches its limit and sets the code.
And just as a heads up, the Ford DPFE sensors are only good for about 70k miles, non-Ford replacements are cheaper and tend to last longer.
The wrong EGR flow will cause misfires under load.