Cummins Inc has agreed to recall about 500,000 medium- and heavy-duty trucks in the United States to correct a faulty emissions control system in the engines it made for the trucks, the U.S.