A man caught swapping real gift cards for bogus ones at the Ocala Target has been sentenced to 33 months in federal prison.