A Syracuse man accused of threatening a 5-year-old boy with a knife while high on bath salts pleaded guilty to weapon charges Friday morning.