I would have read this story between 1995 and today, almost certainly in anthology format. I'm not sure when it was written; some of the story elements in my memory feel modern to me, but some have kind of a golden age feel as well (the narrator has a number of politically incorrect attitudes).
A science fiction writer is frozen in the current day (possibly due to being terminally ill). He is defrosted in the far future.
Society has entered a near-utopian state as a result of scientific advancement and automation. An internet-type system controls the society's infrastructure, and the society's skilled workers know how to run that internet-type system but no longer have the skills to run the infrastructure directly.
The science fiction writer is chagrined to learn that he has no skills that would be useful in this society and there is no function he can fulfill. But he remembers that "there is one occupation with no real job requirements" or something to that effect, and somehow tricks others into rigging the internet-style system to self-destruct while giving himself a dead man switch to control that destruction. This allows him to force the citizens of the future society to make him King - the only job a person with absolutely no skills can do.