Shelton man charged with threatening, endangerment