A day after a Border Patrol agent shot him in the leg, a Whatcom County man appeared in federal court on crutches and was charged with illegal possession of a firearm.