You searched for: “aleatocracy
aleatocracy
A form of government in which the officials are decided by chance; such as, by drawing names from a hat.

Aleatocracy can be seen in Arthur C. Clarke's The Songs of Distant Earth.