US shares closed at record levels after the Federal Reserve (Fed) indicated that its efforts to boost the economy would…