Can you replace a 240 Watt power supply with a 350?

I just got a computer with a broken power supply. I plan to turn the computer into a gaming computer. This would be the first time I've built a computer. The old power supply is 240 Watts. Would I damage other components if I put a 350 watt power supply in it. Thanks for your help!
6 answers 6