Cross breeding a poisonous and non poisonous plant

Hi there! I was wondering what would happen if I crossbred, for example, a cherry tomato plant with a nightshade plant etc. Would the outcome be a non poisonous plant or a poisonous plant? I’m quite interested in the result,…