Looking at this Arduino Mega 2560 schematic, if IC1 or IC2 failed (assuming only one or the other is installed for a given board), then you would only be able to power the board using the USB port.
Looking at this ramps 1.4 shield schematic there is not enough information to know if the shield will power the Arduino Mega 2560.