After witnessing a sharp rally in the past few days, shares of railway companies witnessed profit booking today, falling as much as 6% on the BSE amid a broader market sell-off.