A former Kentucky sheriff accused of shooting and killing a judge in his chambers plans to use an insanity defense.