New York stocks ended with strong gains on Monday, propelled by merger and acquisition reports and firm retail sales for March, which generated optimism about the U.S. economic outlook.