P0133 is the primary O2 sensor and location is dependent on the engine you have. Refer to diagram.
Since you have the BAS and brake indicator lights flickering intermittently, I would not rucsh into replaceing the O2 sensor just yet. Check the brake fluid level and ensure ground circuits are good. Have the alternator charging tested.