The second sentence in your first example is a fragment.
The second sentence in the second example is also a fragment. It can't be a run on because there is a period after the first sentence.
fragments or run on sentences
He's going to law school. To be an attorney like his mother Fragment
She was the worst student in her class. Because she got all the lowest grades. Run on senence
1 answer