The shaky teeth are most likely due to long standing gum disease resulting in bone loss around affected teeth. No vitamin or diet shall help, you may seek professional help, however.