The Aloca Corporation and the New York Power Authority have reached a deal that will keep 500 jobs in Northern New York.