Kill your defence lawyer. The jurors would obviously acquit. Although the prosecution would probably argue that the jury was biased.
The answer is to pull the lever in such a way that the tracks jam halfway between switching. This will cause the train to derail and kill both sets of people in the ensuing carnage.
You did your best to stop the trolley so it was not negligent homicide it was a failed attempt to stop a train with no casualties on either track.
Don’t pull it, let the jurors die. It’ll justify my “not-guilty” defense. “I did not take any action for the previous trolley that killed people, and I did not take action on this trolley either. I touched nothing, yet people still died.” I don’t know what happens after that, maybe we get new jurors and I have the judge as a witness; or maybe the judge makes a decision.
Looks like the atorney can just step aside from the tracks, as they are not tied.
Of course, they’d charge you $300 for having to make the effort.