In the book of Shoftim (Judges) we are introduced to a the role of a shofet ("judge"). At first glance, it's a very vague role.
Hashem uses judges to prevent the Jews from sinning. But not much else is explained.
Is a Shofet similar to a prophet, a gadol hador, or is it to be taken literally as a "Judge" like an av bet din?