The U.S. government recorded a surplus in June, bolstered by increased tariff collections, the Treasury Department reported Friday. The surplus amounted to just over $27 billion. The last time the U.S. federal government had a budget surplus was in fiscal year 2001.