You may need to just tough it out a few times to get her to accept she isn't the boss of the family and then the world which you know won't end well for her.
Keep in mind a concept called the extinction burst. Its when someone is accustomed to getting their way and learns that if they just ratchet up their bad behavior the other party will eventually cave to their demands.
So as you start forcing her to follow basic good behaviors she will begin to fight back even harder, and may seem even more out of control.
What you need to do is NOT GIVE IN. No matter what! You explain to her at a quiet time that her behavior is unacceptable and that from now on you expect her to do A, B, C and that she will not get her way by screaming, crying etc.
As you enforce the rules of home expect her to go over and above her usual antics. It will grow as you continue to enforce good behavior, she may cook up some new methods of parental torture.
It will culminate in an epic showdown one day or night where you must stay calm and detached. You treat her like a toddler-keep her safe but thats all. Do not react, do not engage. If you told her that when she screams at the dinner table you'll take her plate away, you do that. Then you put her in her bedroom. etc etc.
You just have to stay strong for a little while, it usually works fairly quickly but it may feel like a century! This is for her not you-you can't allow her to grow up to be a jerk, the world has too many already.
this article explains it better than I did if you're interested. Good luck! I know you can do it
https://www.goldenstepsaba.com/resources/extinction-burst-aba
*also I don't have children so I'm definitely making it sound easier than it probably is, I'm just some internet rando who has read about this topic so take my advice w/a grain of salt