wy volkswagen does not want to give spark after i change the crank shaft sensor on 2006 Volkswagen Jetta

it started with not pulling just driving 80km/h and later not starting and advised to change the crank sensor but its not starting again

Asked by for the 2006 Volkswagen Jetta
new part could be faulty. if it is cranking than it could be fuel delivery issue. run diagnostic.
thanks for your reply but this car is stil not starting its jst cranking not showing any fault people are telling me its a computer box,can it be fixed and repaired