How do I get better at not dying in raids?

This is the thing for every ranged class, positioning is a key. If you know that there will be adds spawning from right wall, don’t ever stay near that wall. Also pay more attention to your own health, if 1 dps will die because you healed yourself a group can still manage and defeat the boss, but when healer dies it’s wipe most of the time. There is also cool addon called GTFO which shouts and lights screen when something that could be dodged is “eating” you.