A 41-year-old Central New York man shot and wounded by a state trooper during an armed confrontation in June has pleaded guilty to menacing charges.