President-elect Donald J. Trump took credit on Wednesday for a decision by Sprint to add 5,000 jobs in the United States as he tried to deliver on his promise to force corporate America to focus on job creation at home rather than abroad.

“I was just called by the head people at Sprint, and they are going to be bringing 5,000 jobs back to the United States,” Mr. Trump told reporters at his Mar-a-Lago estate in Florida. “They have taken them from other countries. They are bringing them back to the United States.”

Sprint later said that the jobs were part of a previously announced commitment by Japan’s SoftBank, which owns a controlling stake in the mobile phone carrier, to invest $50 billion in the United States and create 50,000 positions. That announcement, made by Masayoshi Son, the chief executive of SoftBank, followed a meeting with Mr. Trump this month.

SoftBank is also a major investor in OneWeb, a satellite start-up that Mr. Trump said Wednesday would create an additional 3,000 jobs in the United States.