You should enter the full contribution that you made ($8000), and then indicate what you did with the excess amount that TurboTax will calculate based on your other tax return information.
For reference, the following TurboTax help article will take you through the steps to report this in TurboTax:
How do I re-characterize a Roth IRA contribution as a traditional IRA contribution in TurboTax?
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"