The 31R ILS in the JFK scenery is correctly aligned, and you can verify this easily with any AFCAD editor, like ADE or AFX. Your problem is surely caused by another AFCAD from another scenery in conflict.
You can check for conflicting AFCADs using the free FSX Airport Scanner program, which will look for duplicates airport .BGLs