Ahhhhh, this is a fun one.
First off, yes, you would use the ideal gas equation of PV=nRT. You are given the temperature, the pressure, the volume, and the gas constant R (0.0821 L*Atm/K). The question tells you that at the temperature of 445 Celcius (718 K), the pressure is equal to one atmosphere. They also say that 4.35 grams is in one liter of the sulfur gas. So we'll set up the equation as follows:
(1.00 atm)(1.00 L) = n(0.0821 L*atm/K)(718 K)
If we solve for n, the number of moles of gas, we get 0.01696 (Not the right number of significant figures, but oh well).
If we multiply that number by the molecular mass of sulfur (32.1 grams per mole), we get a value of 0.545 grams.
So this is telling us that in .017 moles of gas, we have 0.545 grams of sulfur. Also remember that the value 'n' in the Ideal Gas Equation is the number of moles of GAS and not the number of moles of atom. In the ideal gas equation, a mole of oxygen is equal to 1 mole of O2, so the number of moles of oxygen is actually 2. Since the initial question told us that one liter of sulfur gas weighs 4.35 grams, we see that while we have 0.17 moles of sulfur gas, we must have a greater number of moles of sulfur atoms. How do we find out the number of atoms per molecule then?
Well we can take the 4.35 grams and divide it by the number of grams we calculated. So 4.35/0.545 = 7.98 = 8 atoms of sulfur per molecule of gas. Therefore, sulfur would have the form of S8 molecules as a gas which is correct.