The deal, which is “subject to legislative and governance procedures”, will end chairman Dean Hoyle’s 14-year association with the Terriers.
Sir Jim Ratcliffe and Qatari banker Sheikh Jassim are the frontrunners in takeover from the Glazer family
It will be the 39-year-old's second spell at the Racecourse Ground after a loan stint with the Welsh outfit in 2005. Foster hung up his gloves last year after a distinguished career that included lengthy periods with West Brom and Watford. Wrexham sounded him out about a return to action after losing regular keeper Rob Lainton to injury.