No, OP's example isn't "correct", because the verb forms are inconsistent. The consistent versions are...
1: "If I were president of this country, I would make everyone in this country rich""If I were president of this country, I would make everyone in this country rich"
2: "If I had been president of this country, I would have made everyone in this country rich""If I had been president of this country, I would have made everyone in this country rich"
In #1 the speaker is postulating an "unreal" situation in which he is president at the time of speaking, but in #2 it's when he was president (also unreal, since he never was, but crucially, it's in the past).
Note that technically speaking, #1 is a "true" subjunctive usage. The equivalent past tense version for #2 would be "If I would have been president", but almost nobody ever says that, because we increasingly tend to avoid the subjunctive. People still commonly say things like "If I'd have been president", but in my experience if you ask what that 'd stands for they'll often say it's a shortening of if I had have been (which is grammatically nonsense, but it just goes to show we don't like the subjunctive).