Just go to a parts store or a junk yard. But first check online how to get all the trouble codes from the computer.
For GM cars a crank sensor like this is about $30 canadian. For yours should be closer to $60. You could take it to the dealer or maybe a parts store like Auto zone-they should be able to test it, before you spend any money on it.