A New York man is accused of raping and robbing a 12-year-old boy he allegedly lured on a dating app, authorities say.