Are used auto parts safe?
Yeah, they are quite safe in fact, but only if you make your purchase from a reliable dealer instead of local ones.
Nothing sure about junkyards, but there are some online dealers which provide warranties on each purchase you make and that too with lowest price guarantee on OEM certified parts. One such source that I know is autopartsfair.com
However you can also search online to find out a store nearest to you.