c. 1300, "a movement, a beginning," from shift (v.). This is the word in to make shift "make efforts" (mid-15c.). Sense of "change, alteration" is from 1560s. Sense of "means to an end" is from 1520s; hence "an expedient." Meaning "mechanism for changing gear in a motor vehicle" is recorded from 1914. Typewriter shift key is from 1893; shift-lock is from 1899.
Meaning "period of working time" (originally in a mine) is attested from 1809, with older sense "relay of horses" (1708); perhaps with sense influenced by a North Sea Germanic cognate word (such as North Frisian skeft "division, stratum," skaft "one of successive parties of workmen"). Similar double senses of "division" and "relay of workers" exist in Swedish skift, German schicht.