probably not going to do much for pwm.
I don't know what you're trying to say, but like I said it's probably not going to work with PWM. I guess you could try it with your 5V supply and if it "dims nicely" at 5V then PWM might work.
A relay would be the most foolproof way to turn it on & off, but a MOSFET could work too.