Eduardo Castro-Wright, the head of Wal-Mart Stores' US unit, is to take over responsibility for the retail giant's global sourcing operations in a move that will allow him to relocate to California for family reasons.