Could be the cts/ coolant temp sensor located beside the thermostat housing , or vacuum leak , fuel filter .
Lean means not enough fuel. Could check fuel pressure 9 to 14 psi. 02 is working due to code lean.
Cts cost 10 bucks get it out of the equation . Hope this helps you Djk555