A Brazilian judge has suspended work on a massive hydroelectric dam in the Amazon jungle, saying it would harm fishing on the Xingu River.