Woman shot by deputy in critical but stable condition