A man is set to appear in front of magistrates after being charged with attempted murder.