Difference 5.2 or 5.9

One quick way is injector color. A 5.9 will have red bodied injectors, and a 5.2 will have black bodies with a blue ring.