The world’s biggest divorce settlement will be made official this week as Amazon billionaire Jeff Bezos hands over a 4% stake in the online shopping giant to his soon-to-be ex-wife MacKenzie Bezos.

A judge is expected to sign legal papers transferring the Amazon shares – worth $38bn (£29bn) – into MacKenzie Bezos’s name. It is by some distance the largest divorce settlement in history the previous record was $2.5bn paid to Jocelyn Wildenstein when she divorced art dealer Alec Wildenstein in 1999.

Following the settlement MacKenzie Bezos, 49, an author, will become the world’s fourth-richest woman, and has already promised to give away at least 50% of her fortune.