In that case, no, and you’re not responsible anymore. Those people working on switching out the trolley parts had every available opportunity to fully stop the trolley, more-so than you. You diverted it to save a life immediately, that crew maintaining this Trolley of Death are the real murderers.
Capitalism is maintained by others, and all most of us can do in our day to day lives is make sure that the people in our immediate vicinity aren't killed by it.