An ex-convict is accused of shooting his parole officer in the shoulder at a downtown Brooklyn office.