Former Brooklyn Legal Services lawyer sworn in to New York’s highest court