I would pull the lever, but then spend time lobbying with the city to ensure better safety protocols and improvements for the trolley system.
I would leap and tackle the people off of the tracks.
I wouldn’t do anything in the moment, but I’d find the people responsible and take them down.
I would pull the lever, but also create a community group to support the family of the person who dies, and make improvements to the area.
I would try to stop the trolley, but barring that, I’d buy the trolley company and institute new policies for maintenance so that it never happens again.