It does kind of depend, if it is “garden” molasses, specifically made to be a amendment for soil, it might not have that much sugar in it and might help if used as directed. But if it does supply a bunch of sugar it might cause more problems than it owuld help as I mentioned here:
Adding sugar, honey or molasses during flushing? - #3 by MacGyverStoner