The train, which was headed from the San Joaquin Valley to Oakland, stopped a few hundred yards away from the victim.
No passengers aboard the train were hurt.
Police have not revealed any details about the victim.
Officials say this is expected to cause delays to Amtrak service.