For domestic flights, it's called a layover if it's less than four hours, or a stopover if it's longer. In general, you can use the two words interchangeably, or even use the word connection for a short-term stop, and everyone will know what you mean. Layover is the more popular term, especially in the United States.