Yes 50VAC being applied, but not "across." The resistor is dropping 35v. 35sqr/350 = 3.5watts. The solder isn't melting anymore.
If that resistor was between 50vac and ground then your calculation wpuld apply.
If that resistor was between 50vac and ground then your calculation wpuld apply.
Comment