An 18-year-old from near York is to take part in a gruelling challenge to raise money for a charity that has helped his grandmother.