U.S. equities finished higher, with the S&P 500 and Nasdaq posting a fourth-straight session of gains, as the markets continued to show some resiliency in the face of global recession concerns amid tightening monetary policies globally.