An employee was covering railroad crossties with dirt using a shovel near backhoe equipment. The backhoe hit a hard spot causing the stabilizer to shift approximately one foot, pinning the employee's foot against the rail. Their right ankle was broken.