stalling usually is mass air flow or even a weak fuel pump. o2 would be hard to believe it could cause a stalling issue. could always try to unplug the o2 see how it runs. have u had the engine light scanned for codes? i know the mass air flow and the o2 get their power from the same fuse, maybe the fuse is blown its under the hood on pass side of engine compartment.