I would think you should use something like a modifier button for when you crit.

Try

/cast Judgement of Light; [modifier=alt] Flash of Light;

That should work.