Defendant pleads guilty to role in 2009 shooting