What's the term for this in music?

The title of that one is Hard For Me To Say I’m Sorry.

I’ve always called this kind of thing a “movement”, myself. For instance, Sweet’s “Love Is Like Oxygen” contains several movements.

Other examples include Zebra’s “Whose Behind the Door?” and Styx’s “Come Sail Away”.

Just remembered the other two instance of this that have not been mentioned yet:

My Paper Heart by the All-American Rejects
A Praise Chorus by Jimmy Eat World almost does this, as the middle part seems nothing like the beginning and end, yet returns to the chorus at the end.

So these, along with the Dashboard example I already mentioned, mean that emo-pop has proportionately the second-most, maybe even the most, examples of this aside from classical and classic rock, which seems a bit strange.

This isn’t a medley - a medley is when a musician takes a number of independent songs that were never intended to be together and strings them (or snippets of them) together into a continuous piece of music. There are changes to pacing, key, etc., but the works were not originally written as a single piece. Medleys are often thought of as cheesy - a tired way for an old artist to blow through their hits that they hate performing anymore, or for a lounge act to play a variety of songs…

I bow to tdn’s superior education but will use section or movement to describe the components of a song with this type of structure until I hear of a better word…

I would describe songs like “Bohemian Rhapsody,” “Station to Station,” “Happiness Is a Warm Gun,” etc. as having an episodic structure. Not a strictly musical term, but the most accurate description I can think of.