Sounds like you have a short in the wiring somewhere, the lights all going on and it wanting to die says short to me. The fuel gauge jumping around sounds like a short also, this will cause the pump not getting any power when it needs to be sending fuel. The oxygen sensor should be replaced to...