Hi! It just so happens that my
IEEE group here at BYU-Idaho are putting together a flight computer for a rocket and used this to deploy our recovery system:
I can upload a schematic later but the idea is to have a 9V battery power the transistor which is triggered from an I/O pin from the BBB. This battery also supplies the current to switch the relay after the I/O pin is triggered. If your current draw is low enough, a transistor would work, but the BBB GPI/O pins output 3.3 V or you could use a 5V output pin that the board supplies to get the 5V directly.