Leeds striker Andy Gray is set for a second spell at Bradford City after agreeing an 18-month deal with the Bantams.