Trial set for officer accused in shooting