Please see the answer linked below. You can claim deductible moving expenses in the year that you paid them. Of the two items that you mention, the shipping of your things would be a deductible expense, but setting up new housing would probably not. See IRS
Publication 521 for deductible and nondeductible moving expenses.
... View more