Ford Repair Questions? Ask a Mechanic for Answers ASAP
Hello and welcome to justanswer.com
You may have a problem with a vacuum leak, EGR sticking open or a stickign idle air control valve.
They will all cause the stalling like you describe and a vacuum leak could be the cause of those leans codes.
Look closely at the PCV hose as they sometimes collapse and leak.