CSX Transportation’s net profit rose 42 percent in the fourth quarter from a year earlier to $430 million, with a revenue gain of 21 percent to $2.82 billion, the railroad announced Monday.