Hello and welcome to JustAnswer!
There's no way to bench test a cam or crank sensor but they can be tested on the truck. Is this what you are wanting to do?
There's not resistance check that can be done on a cam or crank sensor to tell if it's functional.
Do you have a digital voltmeter?
For the cam sensor:
Unplug the sensor. Check for ground on the black/light blue wire.
Turn the key on and check for 5v on the other two wires.
Plug the sensor in and backprobe on the violet/white wire and see if it's still at 5v. If not, replace the sensor.
To see if the sensor works, set up the voltmeter to backprobe on the tan/yellow wire. Turn the engine slowly by hand using a ratchet on the crank damper bolt. The voltage on the meter should toggle between 0 and 5v as you turn the engine. If it doesn't toggle then the sensor is bad or the cam isn't turning. If it doesn't make it fully to 0v or 5v replace the sensor.
For the crank sensor:
Unplug the sensor and check for ground on the black/light blue wire.
Plug the sensor back in and backprobe on the violet/white wire and see if the voltage drops. If it does replace the sensor.
To see if the sensor works set up the meter to backprobe on the gray/black wire. Again turn the engine by hand and the voltage should toggle from 0 to 5v back and forth. If not replace the sensor.