Rail workers will are set to walk out on 1 and 5 October in long-running row over pay.