I feel like blame is the very obvious factor missing from most descriptions of trolley problems I've seen.
"Will it send me to jail?" is a highly important question for something that might easily be considered murder even if it does prevent other deaths.
In reality though it would become a legal question, not (just) a moral one.