I knew about fuel starvation, I just didn't know it could cause all those codes or the long time to start up which is why I didn't think of it at first. Cossie, that sounds identical to what happened to me. Hard prolonged corner, gunned it out and then a few seconds later the car died. I kept it in gear since I wanted to keep power to the steering and brakes as long as possible. That also explains why when I tried to start it, there were zero dots on the fuel gauge.
There's a gas station right by the dealer, this is my first fuel starvation experience and will definitely be my last time letting fuel levels get that low. It's just weird it's never happened before since I have done canyons and turns like that with the same fuel level. Thanks for all the advice everyone, I really appreciate it!