...only to the extent that you think that tomatoes are a type of potato (both Solanum).
They are members of the same plant family. A plant family is defined as a taxonomic group containing one or more genera. These genera share physical characteristics that can help identify them but it does not make them 'the same as' a related genus.