considering the interaction with sally hemmings, he can’t hardly be both, can he!
Thomas Jefferson did not have a child by Sally Hemmings. It was most likely his brother Randolph as she mentioned him in her writings.
Look up “Thomas Jefferson and Sally Hemmings report” by the Un. of Virginia group of scholars. You might learn something.