File an original New York state return incorporating your 1099-B and file an amended federal tax return (if your federal was accepted).
An e-file reject means the original return was never filed with New York state. You can make changes before re-submitting.
If you federal return was accepted, then you will have to amend federal to add your 1099-B.
Click here for help: How do I amend my 2020 TurboTax Online return?