A man who has raised over £10,000 for charity is to test his limits by doing a 10k run during a fast that lasts around 19 hours.