EE's were conducting routine maintenance tasks on rail car. While changing a brake shoe on the rail car, EE heard air and felt his right ring finger become caught between the brake shoe and the brake beam. The second EE was able to use a pry bar to free the EE's finger. EE suffered an avulsion fracture to the right ring finger and was released to light duty restrictions.