The question is ambiguous, because it doesn't specify the form of "oxygen".
Taken literally, Na2SO4 "contains" precisely no O2 (or S8 or metallic Na). 1 mol contains 2 mol Na atoms, 1 mol S atoms and 4 mol O atoms. Therefore the answer I would give to your question (what mass contains 1 mole of oxygen) is the mass of 1/4 mol Na2SO4.
If decomposed to its constituent elements in their normal form, 1 mol Na2SO4 would yield 2 mol O2.
With a question like this it is always best to be explicit in your answer about what form you are referring to, i.e. 1 mol O or 1 mol O2. Then you may get marks for an anwer that is technically right even if it wasn't the answer the questioner wanted.