About 5.2 million foreign travelers arrived at Japanese ports and airports in the first five months of the year, setting the nation on track to surpass last year's record of 10.36 million arrivals, the government estimates.