TOKYO - A record 2,829,416 foreigners were registered as residents in Japan as of the end of June, bolstered by a rising number of technical interns and workers amid a severe shortage of labor in the country, government data showed Friday.