When the engine stalls, you lose engine vacuum that helps power your brakes and steering. The oil pressure and battery light coming on is normal since the engine is off. That part is simple to explain.
If the engine stalls suddenly only during the application of the brakes, check the wiring in the rear hatch between the hatch lid and body for shorts. Lots of info about it on here. There may be an electrical short.
If the engine stumbles and then stalls, check for a large vacuum leak in the induction system after the MAF sensor.
Get the DTC (check engine light) code read as soon as possible as that may give you a clue as to the problem.