for Back in Time with Benjamin Franklin by Dan Gutman
One minute Qwerty Stevens is researching a last-minute report on the Internet, and the next minute Benjamin Franklin is sitting on his bed! Thanks to the Anytime Anywhere Machine hooked up to his computer, Qwerty has snatched Franklin from July 4, 1776, the very day the Declaration of Independence was signed. Qwerty and his best friend, Joe, realize they have to get Franklin back in time for the signing, and they can't resist seeing it with their own eyes. Can the boys make sure the Declaration gets signed like history says it should? And can they make it back home?
Publisher description retrieved from Google Books.