Sudbury man charged with attempted murder