How can I clearly express that I worked for two different companies, within a period of time, but not at the same time?

Even simpler:

In (year) I worked for Company A, then Company B.

Using "then" makes it clear that you are talking about a sequence of events.