New York manufacturing activity rises after 4-month decline