TurboTax does not have a copy of the W-2 or Form 1099.
It would have a Form W-2 Wage and Tax Statement that included the tax data from the forms that were entered.
The forms would be included in the PDF of the tax return in the tax year the return was completed.
Copies of a Form 1099 would have to obtained from the issuer of the form.
To access your prior year online tax returns sign onto the TurboTax website with the User ID you used to create the account - https://myturbotax.intuit.com/
Start the 2023 online tax return by entering some personal information then click on Tax Home on the left side of the screen.
On the Tax Home webpage -
Scroll down to the section Your tax returns & documents. Click on the Year and Click on Download/print return (PDF)