Police: Woman tried to shoot husband behind judge’s office