WASHINGTON—The Federal Reserve said it would raise short-term interest rates and spelled out in greater detail its plans to start slowly shrinking its $4.5 trillion portfolio of bonds and other assets this year.