Ramon Rivera, 51, was taken into custody after three people were fatally stabbed within 2 1/2 hours across Manhattan.