The Commonwealth Court ruled Friday in a precedential opinion that New Jersey Transit is shielded from a negligence lawsuit in Pennsylvania.