that didnt work either. it casts the spell but doesnt put my minion on focus. i did some researching around about the focus command and seems it only recognizes nonspecific targets like "pet", "target" or "player" like you mentioned earlier. it seems that since minions aren't one of the commands that works with focus, i have to actually target it first and then focus it. so i experimented around a little with it and got it do what i wanted granted it costs me 3 presses of the button but i can spam it in the time span of a global so its not like i'm going to miss any dps behind it.
/cast Raise Dead
/target Risen Ally
it costs me 3 presses because when Raise Dead is cast, my minion isn't targetable for a second so i have to press it once to cast, a second press to target minion and a 3rd to focus my minion and target my previous target; which it can do both of those a the same time. it seems to work so far tho.