Hi my name is Ross, I'm a car technician and I’ll help with your question.
Was the engine taken from an earlier model?
yes out of 1999 model
Ok, if its just the camshaft position sensor, the engine should run fine providing the crankshaft sensor is connector however the engine management light will be on permanently because the ECU will recognise there is no signal from the sensor when its expecting it. Unfortunately the only way around this is to fit the ECU from the doner vehicle however this would also need the immobiliser components so its not a straight swap so if you can live with the warning light on all the time the engine should physically be OK