Please see the TurboTax FAQ for how to enter a large number of stock transactions.
https://ttlc.intuit.com/replies/4926553
Additionally, I have provided below a suggested solution by one of our employees.
https://ttlc.intuit.com/replies/5900380