JWST is 6200kg roughly. The sunshield is about 150 square meters. Sunlight is roughly 1360W/m^2, so given Einsteins relation between momentum and energy for light: P = E/c, and increase that by a factor of 2 due to reflection (as opposed to full absorption, which would be 1), then we have 9e-6 Newtons per square meter in sunshine near 1AU, for a total of 0.00135 Newtons over the whole thing. Over 5 years, that's 36 m/s of delta-v.
That could be enough to rescue the mission due to a small performance shortfall, if you can point this carefully in the right direction.
(And 5 years is a long time, but not unheard of if you're trying to recover from a major mission failure, for instance the Japanese Venus probe which failed its 2010 Venus orbit insertion and so had to go around the sun a bunch of times and successfully inserted on the next try in 2015 using the attitude control thrusters.)