first you want to divide by Avogadro's number to convert into moles of O atoms
3.50 x 10^23 / 6.022 x 10^23 atoms/mol = 0.5812 moles of O atoms
from there then you can convert over to moles of CuSO4 by dividing by 4 since there are 4 oxygen atoms for every 1 molecule of the compound
0.5812/4 = 0.1453 moles of CuSO4
then since there is 1 sulfur atom for every 1 molecule that value is the same as the moles of sulfur atoms, meaning that a sample of CuSO4 containing 3.50 x 10^23 oxygen atoms contains approximately 0.145 moles of sulfur