Could I switch a 1/4W resistor with a 1/2W resistor?
If you have enough space you can easily replace them with 1/2W. 1/4W is less than 1/2W. The device will work properly. 1/2W or 1/4W means how much power the resistor can dissipate.