Ok... What you need is your own AS number if you don't have one. You can't use on of AT&T's AS numbers, you'll need to get one from ARIN
if you don't have one.
Then you'll need to contact sprint and tell them that you want to connect to them with BGP and announce your /24 from them and AT&T's /24. You'll also need to notify AT&T to accept the /24 from sprint.
One you do that, then you can start configuring router A with eBGP for the sprint connection, and iBGP with router B. On both routers A&B you'll annouce both subnets (/24's). You'll make a route-map to ensure that sprint's /24 primarily goes down the sprint pipe and vs.
Example route-map:
ip prefix-list preferred description My preferred routes
ip prefix-list preferred seq 5 permit 1.xxx.xxx.0/24
!
ip prefix-list notpreferred description My least preferred routes
ip prefix-list notpreferred seq 5 permit 2.xxx.xxx.0/24
!
route-map myroutes permit 10
match ip address prefix-list preferred
set metric 20
!
route-map myroutes permit 20
match ip address prefix-list notpreferred
set metric 10
set as-path prepend 27468 27468 27468 27468
This tells your router to tell your eBGP peer that I have subnets 1.xxx.xxx.0/24 and 2.xxx.xxx.0/24 but the 1.xxx.xxx.0/24 is a really good route. When you setup your other router, you would reverse these prefix-lists so that your telling the other ISP that your other subnet is really good.
It's pretty advanced subject, but this is the basics of what you want.