There are quite a few ways to to the turn on and off thing You could simply keyframe it the shader values. For a some slight randomness it might help to do the following:
lambert1.glowIntensity = b - (a * noise(time));
with b being the aimed intensity and a the ammount of randomness, like
lambert1.glowIntensity = .8 - (.2 *noise(time));
it will give values between .6 and .8
if (time > 10)
lambert1.glowIntensity = 0;
else
lambert1.glowIntensity = .8 - (.2 *noise(time));
This expression will have the glow expression working until time = 10 has been reached... afterwards the glow value will go down to 0. If this kind of aproach seems to your liking have a look at the expresions chapter of the maya help.