Man accused of murder booked for threatening judge