Change The computer an has 150 pounds in that cilynder

While driving on freeway, suddenly my tachometer needle starts swinging wildly and engine starts lurching like as if not firing on all cylinders then engine just quit. All power doors, windows locks etc either won't work or are very sluggish.
Engine will start and idle fine but after putting in drive and moving the above starts happening

I'm not sure which of the three or witch O2 señora I need

and even though i used the correct wire harness to install new deck the deck has no constant power to it and i lost interior lights can i possible get a wire diagram

altenator goes out matter of 2 days new battery drained in 3 days

I tried unsuccessfully to enter a code in it after it got locked. The screen went blank. I tried to replace the radio but the new one gets no power either.