A man shot himself in one of his hands, and the bullet grazed one of a woman’s legs, police say.