For CO2(g),
Since the oxidation number of O is -2, clearly the oxidation number of carbon is +4.
For Na2CO3(aq) or CO3^2- (aq)
Since the oxidation number of Na is +1 and oxidation number of O is -2, the oxidation number of carbon is also +4.
The oxidation number of O atom is -2 usually(except peroxide is -1),so the oxidation number of C in CO2 is +4 as 2(-2)+C=0,C=+4.The oxidation number of C in CO32- is -4 as 3(-2)+C=-2,C=+4.
The oxidation number of C isn't change.Therefore,the reaction isn't a redox reaction.