Complex sentence: Judges in problem-solving courts need other skills beyond a knowledge of the law; they also must sometimes function as a social worker, therapist, and accountant.
Split into simpler sentences: Judges in problem-solving courts need other skills beyond a knowledge of the law. They sometimes wear the hat of a social worker, therapist, and accountant.