You may or may not be able to use the SIM currently residing in your Moto G5 Plus. Please remove and examine that SIM.
If the lettering for the word Republic is a mix of green and black it will move to another Republic compatible phone. If the lettering for the word Republic is all gray or all black, it’s CDMA and we’ll need to provide further insight.
As for the bricked phone, this is a shot in the dark, however, have you tried holding the power button down for what will seem to be an inordinately long period of time (up to two minutes), then release the power button when the screen lights up or you feel the phone vibrate? Doing so might force it to restart.