You MUST determine your engine type before searching for the sensor. The engine type is usually stamped on a metal plate on the engine block. Your vehicle's documentation should also specify this.
Once you know the engine, you can find diagrams and information online (e.g., repair manuals, forums dedicated to your specific engine type) showing the precise location. Generally, it's on or near the front of the engine, but the specific location varies by engine.
Searching for "[Your Engine Type] 1997 Ford F350 camshaft position sensor location" on Google or YouTube will yield the most accurate results.