True, for example, the United States has many government agencies that oversee sectors of the economy ie. the Food and Drug Administration (FDA).
It shifted from nobles to kings
The way I understand the question, this would be because political majorities would in principle be able to do anything, since they have the political power (even immoral things and things which are not compatible with constitution).
Judges can make sure that the laws introduced are not illegal (that is: are not at odds with the constitution) and in this way they keep the country safe from at least breaking the constitution.
Also, they can make sure that the political majorities don't abuse their power in other ways, such as imprison people without a trial. People then "prosecuted" by the political majority can go to a court and demand justice
Yes it w ad usewdc during slaver7y time and it was used as bullets in the gun