While I was at a stop light, my engine just up and stalled without warning. Before I could reach for the key to try to restart the engine, it started itself... how convienient, huh?

KINDA SCARY THOUGH... I went on through the green light, decided I would try to limp home (around the corner). As I apprehensively cruised down the residential street, it stalled again... This time I noticed that the BRAKE warning lamp was flickering, dimly. The engine again, started itself, then stalled, then started itself again (all while in FRIGGIN DRIVE)! I rolled into my driveway in a daze as the engine again stalled, started itself, then I noticed that the starter seemed to remain engaged... I shut it down. I turned the key to the ON position (not far enough to start the engine) and it started itself, again... Anyone have a clue what I might be dealing with here?
2000 Tundra Extra Cab.
Thanks