The maker of a caffeinated alcoholic drink that has been banned in four states has agreed to stop shipments to New York State.