A man, accused of assaulting a woman and her 1-year-old child, has pleaded guilty to child endangering, according to the Montgomery County Sheriff’s Office.