This one-time tax, which investors may pay in installments over eight years, is expected to raise $340 billion by 2027.