Uhhhh..... you change your focus macros such that any character can be a main.

/target PlayerA
/focus
/targetlasttarget

then every spell should be /cast [target=focus] Fireball
or /target [target=focus] then /follow then /targetlasttarget

And then assign focus buttons for various characters so you can switch on the fly.