Your bird looks bored and like it is making its own game or amusement to me- she is getting a cool reaction of OUCH! I would be getting her off me straight away, even before the bite comes- it was pretty obvious when she was going to go for another bite so I would just not allow that behavior as it will get worse and nasty.
Keep her busy instead of just sitting there with nothing to do and if you are going to just sit there then she needs to learn that for her to stay on you she must not bite you.
She's outside of her cage for 4-6 hours every day, and has two play structures with dozens of toys sitting just off screen. We work very hard to make sure she's entertained with foraging enrichment/toys/training. Do you have something specific to recommend?
We've been putting her down whenever she flies over and lands on us, which has helped a lot -when she can't chomp us for her amusement, she suddenly becomes interested in her toys, LOL
I'm wondering if the heat wave we're dealing with right now has something to do with her bad attitude? Until this week, she would spend hours on my shoulder with no problems.