A Magnetic Trap for High Resolution Spectroscopy of Hydrogen-like Atoms