Crank sensor

i have a 04 ford super duty 6.0 diesel is their any way i can test the crank and cam sensors?

There’s a resistance specification for those sensors. The only problem is, they can test fine when they’re at ambient temperature, and fail when they heat up. So if you’re willing to get at the sensor connectors while the engine is hot, you tell if the sensor has failed under that condition.