It's not unheard of for a brand-new component to be faulty straight out of the box. However, the more logical explanation for your car refusing to start after the crank angle sensor was replaced is ...