CAMBRIDGE, Massachusetts – Some Americans are swapping homes for motels as the ranks of the homeless swell during the recession, crowding out shelters and forcing cities and states across the country to find new types of housing.