Sprague emerges victorious in Essex County judge race