Babysitter charged with endangering child