Five people were wounded in the blaze and all rail service between New York and New Jersey was suspended