A police officer in Kentucky is accused of fatally shooting a district judge, following an argument inside a courthouse.