Woman charged in trooper shooting appears in court