MSG Networks and Altice — parent company of Optimum TV — are engaged in a carriage dispute that could knock the Knicks, Islanders, Rangers and Devils off the cable service at midnight Tuesday.