A New South Wales man has faced court after allegedly attempting to import 200 kilograms of cocaine into Australia.