Xavion Barnes, 19, of Brockton was charged as an accessory after the fact, for the Jan. 14 shooting of the girl, who remains hospitalized.