Arizona (and half the teams in the league) receive revenue sharing, but the amount they receive is not based on how profitable they are. The maximum per team revenue sharing is also capped, so they're not receiving more playing at ASU then they would have in Glendale.
If Arizona somehow doubled their revenues in 2023-24 the amount Toronto pays into the revenue sharing pool would actually increase--the pool is based on a % of league-wide revenue, Arizona would receive minimal or no sharing while another team(s) would receive increased revenue sharing.