Well obviously you should pull the lever once the front wheels past the split but before the rear wheels cross it, so that trolley gets off the rails. This way everybody has the chance to survive and you have defensible position during inevitable court hearing.