The striker enjoyed a successful loan spell at Boundary Park last season and becomes boss Ronnie Moore's eleventh summer signing.
Beckett said: "It has taken a long time but I'm delighted that everything is finally sorted out."
The forward will be signed on a permanent deal as soon as the loan is completed.