I swapped in a 5.3 in my obs

After the engine begins to warm up it cuts off
I dont have the exhaust hooked up yet still with open headers

I get a code for both oxygens sensors (lean conditon)

Is it cutting off because the o2 sensors cant get a good read of the exhuast stream or I have another issue?