Many companies, including Amazon, Macy’s and Walmart, are hiring now for roles that last from three to four months.