All the scholars mentioned that the revenge of Karbala would taken by Imam Mahdi as.
My question is: If the revenge is taken in this world then will there be any punishment for them on the day of judgement?

Yes we believe that in Raj’at all the oppressors and tyrant people will be resurrected and those innocent people who has been oppressed by them will also be resurrected and will take revenge. Then of course those they had done wrong with the holy house holds of Prophet (saww) will also become alive and revenged in this Duniya and finally will be punished in Hereafter too. Except Allah (swt) no one can evaluate the life value of Aimmah(a.s) and Prophet (a.s) oppressed by a tyrant and so we can’t judge if they have been revenged then that would be enough for them.