Man shot after three-hour police chase